Attempting to return a const pointer from a UFUNCTION will cause a VS compile error
returns a VS compile error (@ GENERATED_BODY line) stating
Cannot convert from 'const UMyActorComp*' to 'UMyActorComp*'
This is likely related to UE-45717
Compile fails with error mentioned in description
Class compiles and UHT returns a const pointer
There's no existing public thread on this issue, so head over toAnswerHub just mention UE-50745 in the post.