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?