Spawn actor from class doesn't work.

I am trying to spawn a character AI blueprint, which should follow the player character. When I use the spawn actor from class function, it does spawn the blueprint, as expected, but the code inside the actor blueprint is not executed, for some reason, because of which the spawned actor does not follow the player character as it should. If I place the actor in the level, the placed actor does follow the player character, and the code is certainly executed, so the blueprint works otherwise. I don’t understand why the code inside the character AI blueprint isn’t executed when I use spawn actor from class function. How do I make it work?

1 Like

Try this in Class Defaults:

It was already set to that…

I know - the default setting is highlighted and should be set to Spawned. You’re spawning them, right?

Thanks! that worked.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.