Page 1 of 1

Alert Trigger

Posted: Thu Jan 21, 2016 10:51 am
by Borja
Hi, I just recently started adding Dialogue System to my project.
I have a problem, when i add an Alert Trigger in a prefab, if I instantiate the prefab in a scene, and change a value on the object, when I play the project the value revert to the one in the prefab. Is anything wrong? a bug in Dialogue Manager? when I add that prefab to an empty scene it happens too.

Re: Alert Trigger

Posted: Thu Jan 21, 2016 11:17 am
by Tony Li
Depending on your Unity version, this may be a known bug in Unity with prefab instances. I don't recall the specific versions, as it's happened a couple times with different root causes. I believe the workaround is to save your scene before playing. If this doesn't address the issue, please let me know so we can look into it further.

Re: Alert Trigger

Posted: Thu Jan 21, 2016 10:28 pm
by Tony Li
I implemented a workaround so changes to prefab instances don't revert. It's in a patch available on the Pixel Crushers customer download site. If you'd like access, please PM me your Unity Asset Store invoice number. It will also be in the upcoming version 1.5.9 when it's released on the Asset Store.

Re: Alert Trigger

Posted: Mon Feb 01, 2016 6:29 am
by Borja
Ok, thanks, but no need to get it before it's on the Asset Store, as I'm focusing on other things right now on the Dialogue System. If I need later i'll PM you. (PD: My Version of the Unity is up to date, as my project is still starting) And Thanks for the response.