Forums › 💬 NodeCanvas › ⚙️ Support › [BUG] "UpdateGraph called in non-running, non-started graph…"
I have an FSM that has a BehaviourTree subgraph.
I also have an “any state” transition that will call the “Destroy GameObject” ActionTask when an “OnDead” event is received.
When I destroy this GameObject, I see this message in the console if the BehaviourTree is running:
UpdateGraph called in non-running, non-paused graph. StartGraph() or StartBehaviour() should be called first.
Attached screenshot of graph that triggers problem.
Hm…
OK, so apparently I had a BehaviourTreeOwner on my object as well, with the Graph asset being BT_SimpleCreep as well.
BehaviourTreeOwner
BT_SimpleCreep
So the error was actually coming from BehaviourTreeOwners version of BT_SimpleCreep, which still seems like an error to me, but not as urgent I guess.