I have a blueprint that derives (via a couple of my own classes) from ACharacter
. When I spawn it almost immediately (though it isn’t placed in the level), everything works correctly and calling APawn::GetController
in its Tick
returns a controller.
However, in a different piece of code, spawning the same BP with the same line of code, the tick fails to get the controller. What could be the cause of this?