In my character blueprints the AI is set to wander around the map AND if it’s pawnsensing sees the player it will chase you. The wandering and chasing work if you add the character to the map manually but if the character is added with a Spawn Actor From Class node then the mesh is added to the map but nothing else works.
Event BeginPlay nodes don’t run, Construction script doesn’t run, nothing in its blueprints work.
This is how I am spawning the actor in my map blueprints.
I think that was a huge step in the right direction but I’m still getting problems. In my AI controller whenever I try to cast the the controlled pawn it fails.
Apparently this is a semi common issue like this post right here.
They claim to have been able to fix the problem but I for the life of me can’t figure out what the heck he is talking about in his solution.