NodeCanvas Forums › Support › [Help]Switch Dialogue Graph Asset during runtime
So, I created a dialogue tree asset, and set some local variables in its blackboard.
I try to run the new graph by calling SwitchBehavior() in DialogueTreeController.
The graph is changed, but the local variables of the new graph are lost.
Can anyone show me a clue?
Can you please clarify what you mean by lost? You mean that the graph blackboard variables are empty once after you call SwitchBehaviour (not that I can replicate this, but need to clarify).
Please let me know.
Join us on Discord: https://discord.gg/97q2Rjh
Username or Email