playMaker

Author Topic: All my FSM's lost connection to PlayMakerFSM  (Read 1979 times)

rocket5

  • Playmaker Newbie
  • *
  • Posts: 4
    • View Profile
    • Rocket 5 Studios
All my FSM's lost connection to PlayMakerFSM
« on: August 30, 2011, 06:49:44 PM »
Some other script put Unity in an infinite loop so I had to Force Quit Unity (running on OSX).  When I opened up my project again, all of the objects with FSM's in my scene had lost the reference to PlayMakerFSM.  I was able to reassign the missing PlayMakerFSM on the FSM's which fixed the problem. 

Luckily I only have about a dozzen FSM's in my project so far since I just started using playMaker, but if this had been a huge project (which it will be very soon), this would have been a major disaster. 

How can I ever trust playMaker to not do this again?  I'm not sure that I can...

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3634
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: All my FSM's lost connection to PlayMakerFSM
« Reply #1 on: August 30, 2011, 08:18:58 PM »
From what I understand, this can happen in Unity (not just to PlayMaker), but don't think there's a lot a developer can do about it. It might be worth searching on UnityAnswers -I seem to remember people talking about this, and someone might have written an editor script to re-attach missing script references.

If not, I can look into an editor script for this when I have some free time...

EDIT: Also using some form of version control and a backup system should minimize any lost work when things go wrong.
« Last Edit: August 30, 2011, 08:21:00 PM by alexchouls »