Playmaker Forum

Bug Reporting => PlayMaker Bug Reporting => Topic started by: rocket5 on August 30, 2011, 06:49:44 PM

Title: All my FSM's lost connection to PlayMakerFSM
Post by: rocket5 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...
Title: Re: All my FSM's lost connection to PlayMakerFSM
Post by: Alex Chouls 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.