Reply To: Probable mistake in GraphOwnerInspector.OnDestroy()

NodeCanvas Forums Support Probable mistake in GraphOwnerInspector.OnDestroy() Reply To: Probable mistake in GraphOwnerInspector.OnDestroy()

#14096
Gavalakis
Keymaster

Hey!
owner == null is actually on purpose 😛 and it is a hack to cleanup the graph if the component is removed from the Unity inspector (right click -> remove component for example).
It’s not really important though, since the GC will clean that up anyway on an enter/exit play mode (as well as other cases).

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