Reply To: Disabling Domain Reload – MissingReferenceException when calling agent.name

NodeCanvas Forums Support Disabling Domain Reload – MissingReferenceException when calling agent.name Reply To: Disabling Domain Reload – MissingReferenceException when calling agent.name

#17183
Gavalakis
Keymaster

Hello again,

OnEnable and OnDisable should indeed be called an equal amount of times, yes. There are also some assertions to check this. In the context of an FSM, Condition Tasks on transitions should be Enabled when their FSM State node is entered, and should be Disabled when that FSM State node is exited.
I tried to replicate a case where OnEnable is called more times than OnDisable, but I wasn’t really able to do so.
Can you please tell or show a minimal reproduction graph that this happens?

Than you.

Join us on Discord: https://discord.gg/97q2Rjh