NodeCanvas Forums › Support › CheckTrigger MissingReferenceException when stop app running
MissingReferenceException: The object of type ‘BehaviourTreeOwner’ has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
NodeCanvas.Framework.Task.get_router () (at Assets/ParadoxNotion/ParadoxNotion/CanvasCore/Framework/Runtime/Tasks/Task.cs:217)
NodeCanvas.Tasks.Conditions.CheckTrigger_Transform.OnDisable () (at Assets/ParadoxNotion/ParadoxNotion/NodeCanvas/Tasks/Conditions/SystemEvents/CheckTrigger.cs:39)
NodeCanvas.Framework.ConditionTask.Disable () (at Assets/ParadoxNotion/ParadoxNotion/CanvasCore/Framework/Runtime/Tasks/ConditionTask.cs:57)
NodeCanvas.BehaviourTrees.ConditionNode.OnReset () (at Assets/ParadoxNotion/ParadoxNotion/NodeCanvas/Modules/BehaviourTrees/Nodes/Leafs/ConditionNode.cs:45)
NodeCanvas.Framework.Node.Reset (System.Boolean recursively) (at Assets/ParadoxNotion/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Node.cs:309)
NodeCanvas.Framework.Graph.Stop (System.Boolean success) (at Assets/ParadoxNotion/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Graph.cs:597)
NodeCanvas.Framework.Graph.OnDestroy () (at Assets/ParadoxNotion/ParadoxNotion/CanvasCore/Framework/Runtime/Graphs/Graph.cs:54)
Hello and thanks for letting me know. I can confirm that this is indeed happening. Even though it is harmless, it still needs to be fixed 🙂 Thanks!
Join us on Discord: https://discord.gg/97q2Rjh
Username
Password
Remember Me
By registering on this website you agree to our Privacy Policy.
Email
Confirm Password
Username or Email