Error Accessed None 'CallFunc_SpawnAIFromClass_ReturnValue' from node R in blueprint

I get tons of these errors when I try and run the game. I think it may be related to the nav mesh - but I haven’t a idea why it started now. The game was working correctly just before I touched the nav mesh. However, the reason I am posting this is that my node R - is only a level rest. But it seems to be a part of the problem? Also if I delete my “r” node - the problem moves to another key pressed event - or just crashes.

Any help at all would be appreciated.




I am also getting the same error with Print String, somehow.

Error Accessed None
‘CallFunc_SpawnAIFromClass_ReturnValue’
from node Print String in blueprint
map

Did you try providing it a Pawn and a Behavior Tree when spawning the AI?

After the spawn, do a check to see if the object is valid before you use it to spawn a default controller.

Your error is essentially saying you’re trying to access data on an object that doesn’t exist.

Yeah, basically it seems that for some reason the spawning fails. See if you have all the parameters set correctly (BT is optional), and make sure you don’t have any compilation errors in the classes you’re trying to spawn.