Sequence Trigger resets field from prefab.

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Sequence Trigger resets field from prefab.

Post by hellwalker »

Hey,
I have the DS 1.8(from customer download area) and Unity 2017.4.1.f1 and I think I found a bug. When I do this:
1) Add SequenceTrigger to empty game object and write something in sequence field
2) Make a prefab out of object
3) Change sequence field in scene instance of the object

now when I launch the game the sequence field resets itself to prefab version.
I tried same with my own custom script and my fields were not reset.
User avatar
Tony Li
Posts: 22059
Joined: Thu Jul 18, 2013 1:27 pm

Re: Sequence Trigger resets field from prefab.

Post by Tony Li »

Hi,

There is a bug in version 1.8.0 and earlier that doesn't mark the scene dirty when you change the Sequence field. I apologize in advance for this lame workaround, but it works: make another change to the scene, such as ticking and unticking the Once checkbox under the Sequence field. That marks the scene dirty, which ensures that changes are saved.
hellwalker
Posts: 112
Joined: Tue Jan 19, 2016 11:37 pm

Re: Sequence Trigger resets field from prefab.

Post by hellwalker »

Thanks!
Post Reply