Log problem "Accessing an object's name"

I have a problem with accessing the name and debugging it, i only get first character of string debugging it.

FString ObjectName = GetOwner()->GetName();

UE_LOG(LogTemp, Warning, TEXT("%S"), *ObjectName);

i fixed it, i had a Upprecase ā€œsā€ in the TEXT("%s")

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms