playMaker

Author Topic: FSM interrupting "undo/redo" in unity  (Read 551 times)

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
FSM interrupting "undo/redo" in unity
« on: April 14, 2018, 05:56:49 AM »
I tend to use undo and redo in unity a fair amount, sometimes for quite long strings of actions.

But I found if an object with an FSM is selected during an undo or redo progress, it stops dead and all undo states are gone for good :/

eg: I select 10 objects in succession, I can ctrl z / y back and forth through all 10, but if I put an object with FSM at object 5 for example, it will stop on 5 and deleteall undo states.. I dunno why it does this.

is this just me? is there a way to avoid this?  ???

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4315
    • View Profile
    • jinxtergames
Re: FSM interrupting "undo/redo" in unity
« Reply #1 on: April 14, 2018, 11:13:12 AM »
Hi,
I do not know why, but i had some issues with that too before.

Now i usually save multiple scenes while doing things and when i need to revert something, i load one of the previous scenes.

And more recently i tend to just drop in an older scene in the current scene and then copy paste the states/actions.

Same for prefabs, but i tend to minimize prefabs.
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: FSM interrupting "undo/redo" in unity
« Reply #2 on: April 15, 2018, 04:54:18 AM »
Hi,
I do not know why, but i had some issues with that too before.

Now i usually save multiple scenes while doing things and when i need to revert something, i load one of the previous scenes.

And more recently i tend to just drop in an older scene in the current scene and then copy paste the states/actions.

Same for prefabs, but i tend to minimize prefabs.

Yeah it is really odd :| I work around it as best I can too

I would love something similar in Unity that Photoshop has, the history snapshot, so you can take a snapshot of the current state of everything, play around with stuff, then load the previous snapshot back and forth for comparison etc, or even simply a history tab like PS that shows each step that can be selected.

I'm not aware of any add ons for unity like that, but I'd love one

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 4315
    • View Profile
    • jinxtergames
Re: FSM interrupting "undo/redo" in unity
« Reply #3 on: April 15, 2018, 07:49:37 AM »
FOR HIRE:Playmaker/C#

Playmaker Samples <-------------> Easy Exporter <---------------------> TPA Actions

18LSC

  • Playmaker Newbie
  • *
  • Posts: 32
    • View Profile
Re: FSM interrupting "undo/redo" in unity
« Reply #4 on: April 16, 2018, 06:41:29 AM »
Hi,
Maybe this could be usefull for you :

https://assetstore.unity.com/packages/tools/utilities/autosave-scene-90091
Interesting, sorta similar, thanks for the link