Reply To: NullReferenceException in GraphOwnerInspector.OnDestroy

Forums › 💬 NodeCanvas › ⚙️ Support › NullReferenceException in GraphOwnerInspector.OnDestroy › Reply To: NullReferenceException in GraphOwnerInspector.OnDestroy

#17030
psykaw
Participant

    The right fix is:

    If owner equals to null (could have been destroyed but is not null) so you check if owner is really null with ReferenceEquals and if not continue.