Download

I can't figure out why this AI won't animate with SpawnAIfromClass

I followed a tutorial to make this AI and it works fine when placed in the level but nothing happens when It spawns. The pawn is set to placed and spawned, and uses the correct controller.

It seems like the BT won’t move past “Rotate to Face Enemy” and I get this error:

Blueprint Runtime Error: “Accessed None trying to read property CallFunc_GetBlackboard_ReturnValue”. Blueprint: AIControl Function: Execute Ubergraph AIControl Graph: EventGraph Node: Set Value as Object

Any help is appreciated!