Owner claimed to be "AActor" when it should not be
When trying to get reference (pointer, actually) to parent/owner:
I get this error:
I have set the owner/parent in the class to be "APlayer_Obj" like this:
Yet it treats the "GetOwner()" as if APlayerChildClass is directly the child of Actor, to my understanding. Why is it doing this? I need to get a reference of the actual parent/owner that I've set, how can I do this?
Try casting it this way:
Just make sure you check that GetOwner() is valid (not null).
answered Feb 09 '19 at 05:41 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here