I have issue moving my units from a spawn point

Hi, I just added a spawn system to generate units from a building (in an RTS-type game). I’m using a unit that derives from Parent_Unit_Class.

I have a few units already on the map that work well—I can move them freely. However, when I spawn units from the building and try to move them, nothing happens, and I get the following error message:

‘Blueprint Runtime Error: “Accessed None trying to read property CallFunc_GetAIController_ReturnValue”. Node: Stop Movement Graph: EventGraph Function: Execute Ubergraph Parent Unit Class Blueprint: Parent_Unit_Class’

I believe the error is occurring here:

But i have no idea why

Drag off of Get AI Controller and add an “Is Valid” node, connecting that in before the Stop Movement function. There could be other issues possibly causing the movement to break, but that will at least fix the error.

is the unit possessed by an AI?