Download

Having troubles understanding Blueprint errors

I’ve been trying to make a blueprint so I am able to move ai around and not a single tutorial works because they all lead to the same problem. When I try to reference that the controller is the object itself, I get an error of “Self Object Reference is not compatible with Controller Object Reference.”

Does anyone know what this error means exactly and what a fix to this could be? Thanks.

Notice how it says ‘controller’ on that input pin. Try plugging the output of GetPlayerController in there…

Hi, first off you need to inherit from Pawn, not from SkeletalMeshActor, since SkeletalMeshActors can’t be possessed by a controller. Then you would use GetController and plug that in.