Reply To: NullReferenceException in GraphOwnerInspector.OnDestroy

NodeCanvas Forums Support NullReferenceException in GraphOwnerInspector.OnDestroy Reply To: NullReferenceException in GraphOwnerInspector.OnDestroy

#13824
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.