CheckTrigger MissingReferenceException when stop app running

Forums 💬 NodeCanvas ⚙️ Support CheckTrigger MissingReferenceException when stop app running

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #15802
    roger_peng
    Participant

      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)

      #15803
      Gavalakis
      Keymaster

        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!

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.