Reply To: Dialogue Tree Controller loses actor references after playing

NodeCanvas Forums Support Dialogue Tree Controller loses actor references after playing Reply To: Dialogue Tree Controller loses actor references after playing

#12974
Gavalakis
Keymaster

Hello Rene,

It is a Unity standard “thing” that Assets (such as Asset Graphs) can not have scene object references. This is why your scene object references are lost. Once again, please note that this is just how Unity works 🙂

With that said, I will take a look at implementing a solution to that by serializing the actor object references within the DialogueTreeController instead of within the DialoguTree, so that this can be resolved easier.

Until then though, assigning the actor references from script via the SetActorReference and SetActorReferences functions like you do, is probably a good solution as well 🙂

Thanks for your suggestion. I will take a look at making this easier!

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