GraphOwner.cs Strange behaviour

Forums 💬 NodeCanvas ⚙️ Support GraphOwner.cs Strange behaviour

  • This topic has 0 replies, 2 voices, and was last updated 11 years ago by Gavalakis.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #19329
    tomas.trescak
    Participant

      Hi

      My agents fail on one of the lines in GraphOwner.cs, exactly on this line:

      if (instances.ContainsKey(originalGraph)){
      instance = instances[behaviour];
      }

      Is this correct? Why would you test for existence of originalGraph and then use different accessor? Is this a bug?

      #19330
      Gavalakis
      Keymaster

        Hello Tomas,

        Indeed, that is a mispell mistake. I suppose the error occurs after using SwitchBehaviour or setting the behaviour manualy?
        Please change the accessor to use “originalGraph” and thanks a lot for reporting this bug.

        Cheers!

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