Have you checked if your AAIController* heroMasterAI points to an existing object?
Maybe you didnt initialise the object and the pointer references to nothing,
this would lead to an error.
Have you checked if your AAIController* heroMasterAI points to an existing object?
Maybe you didnt initialise the object and the pointer references to nothing,
this would lead to an error.