All "Any State" transitions just gone

I was working last night on my animator controller and everything was fine but when I loaded up Unity today every single transition from “Any State” to another state was gone (about ten). What’s further weird is I took a backup just after closing Unity and the transitions are gone in that backup too which means it must have occurred just as I closed Unity last night as the transitions were working just before that. Has anyone has anything like this happen? A similar thing happened to me working in a different project in Unity 4.2 months ago and I sent the corrupted controller to Unity but never heard anything back and if I’m doing something to trip this I would really like to know.

Glitchiness like this is extremely worrisome in Mecanim because I can’t merge different controllers or manipulate the data inside a controller at all. Since I also can’t generate controllers from code that means an individual controller might be the result of hours of work and it is nerve wracking to have it be unstable. I can take backups but that is only good for restoring to the last “good” backup and not like I said integrating different versions in any way.

That sucks. Sorry to hear it. The last time I had a corrupt controller was 4.0, which was caused by a Sync Layer bug that was fixed in 4.1. It still doesn’t stop me from hitting Ctrl-D to make a backup copy every few minutes when I’m editing controllers. :slight_smile:

Do you have any editor scripts that are calling UnityEditorInternal methods to manipulate controllers? Maybe something like G1NurX’s Event System for Mecanim? I never had any problems with this product, and I don’t want to cast any aspersions on it; it was just a thought.

Not anymore. I used to have some hacky code like that but with the advent of animator triggers and events in the more recent versions I just use the built in functionality. I guess I’ll just have to make prayers to the Unity gods before I go tinkering with my controllers and hope for the best. Thanks for the suggestion.