Reply To: Saving in Slate Cutscene Preview sometimes saves actor positions

Slate Forums Support Saving in Slate Cutscene Preview sometimes saves actor positions Reply To: Saving in Slate Cutscene Preview sometimes saves actor positions

#1143
Gavalakis
Keymaster

Hey,

Sorry for the late reply!
Properly handling scene saving has already been added for the next version. (cutscene is now reverted before the scene is saved automatically).
This only work for Unity 5.6+ though, since Unity added a nice callback for when scene is about to be saved in version 5.6.

If you want to modify the source code now and add this change and not wait for the next version, please open up CutsceneEditor.cs and:

1) In OnEnable() method add this code in the beginning:

2) In OnDisable() method add this code in the beginning as well:

3) Add the following method somewhere in the CutsceneEditor.cs class:

If you have any trouble making the changes, let me know and I can send you over the update to your email.

Thanks!

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