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?
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:
1
2
3
graph=GetInstance(graph);
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
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.