agent error

Forums 💬 NodeCanvas ⚙️ Support agent error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19509
    loverains
    Participant

      when two action task in one fsm state of run in parallel mode,there will report agent null referrence at first.
      the agent is override with custom type component set in blackboard

      #19512
      Gavalakis
      Keymaster

        Hello,

        I just added 2 Tween actions in a Run In Parallel FSM state, both overrided with a blackboard UnityEngine.Object variable and it works fine.

        In your case, could it be that the blackboard variable is not set before the state is entered, or that it is set to null from another place in your code/trees?

        #19511
        loverains
        Participant

          the two actions use different agent.
          there’s no error in no parallel mode or one action in one state

          #19510
          Gavalakis
          Keymaster

            I even set different override agents (both reading from Blackboard) and in parallel. I can’t seem to reproduce the error. Is it possible to send me a reproduction project/scene at info@nodecanvas.com?

            Do you get that error even when using any other actions with the same setup?

            Thanks

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