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 [Link Removed]
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 to AnswerHub just mention UE-50745 in the post.