Cast does not work?

Unrelated tip, you can use FUNCTION in your log messages so you don’t have to type the function name.



 UE_LOG(LogVolume, Log, TEXT("%s() - ")
 , TEXT(__FUNCTION__)
 );