problem instantiating a graph multiple times

NodeCanvas Forums Support problem instantiating a graph multiple times

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #11632
    bcristian
    Participant

    Hello

    I have a BT that instantiates a template at runtime. The template itself contains graphs and action lists. In 2.6.0, this worked fine. In 2.6.2 though, it stopped working, giving the warning “Graph is already active”. Peering through the source code, it seems that it uses the same graph for all instances after the first, which makes all of them use the same agent and BB.

    Am I getting this right so far? And if so, how do I get the old behavior of the system, which is what I really need?

    #11639
    Gavalakis
    Keymaster

    Hello,

    So, this is a bug in the new version after the changes made to Bound Graphs.
    To quickly fix this please open GraphOwner.cs and replace line #182 with this:

    I will check for a more proper fix and update as soon as possible.
    Thanks for letting me know.

    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.