Reply To: Probable mistake in GraphOwnerInspector.OnDestroy()

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

#16898
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).