playMaker

Author Topic: Transitions and events lost when deleting some states  (Read 1151 times)

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Transitions and events lost when deleting some states
« on: October 22, 2020, 04:31:32 AM »
Maybe this should be a bug report, i deleted some states and all the FINISHED transitions were lost, as well as the FINISHED event in the event tab.

When i try adding the FINISHED event to a state, only the dotted box appears, like in the transition that already lost the event connection.



Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Transitions and events lost when deleting some states
« Reply #1 on: October 22, 2020, 04:46:03 AM »
I restarted Unity, that FSM got fixed, but now i got 750 errors all over the project, everything that has not been saved as a prefab lost all the FINISHED transitions  >:(

How the hell do i fix this as i don't intend on going through 750 states to fix them manually.

I can't even delete that empty event that's left behind.
« Last Edit: October 22, 2020, 05:19:54 AM by krmko »
Available for Playmaker work

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Transitions and events lost when deleting some states
« Reply #2 on: October 22, 2020, 07:15:28 AM »
In the end i actually fixed all 750 FSM manually since there was no other way, deleted the no name event from the event manager, but i can't delete it from FSM's.

Any ideas?

Available for Playmaker work

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7616
    • jinxtergames
Re: Transitions and events lost when deleting some states
« Reply #3 on: October 22, 2020, 12:05:18 PM »
Hi.
I never had this yet.

Best to do a bug report on this.

But i can definitely suggest using some version control like github.
As then you can revert changes, it would have saved you a lot of time in this case.

Fat Pug Studio

  • Beta Group
  • Hero Member
  • *
  • Posts: 1294
    • Fat Pug Studio
Re: Transitions and events lost when deleting some states
« Reply #4 on: October 22, 2020, 12:08:48 PM »
Yeah, guess i should. Never had this one too, but i think it's hard to reproduce.
« Last Edit: October 23, 2020, 03:07:52 AM by krmko »
Available for Playmaker work