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