GraphOwner.cs Strange behaviour

NodeCanvas Forums Support GraphOwner.cs Strange behaviour

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9858
    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?

    #9859
    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!

    Join us on Discord: https://discord.gg/97q2Rjh

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