How do I cast an FString to TCHAR array?

#Re Compile

Using only this

UE_LOG( LogActor, Error, TEXT( "%s" ), *ClassName );

in every case

can you recompile and send us your error message?

Make sure to triple check the line numbers and classes involved in this in case you didnt check something accurately. The above code should work.