‘ArgumentException: Getting control 0’s position in a group with only 0 controls when doing Repaint’
‘Aborting’
‘ArgumentNullException: Argument cannot be null’
‘Parameter name: key’
The animators on other characters are working fine…it’s just this one which has shit itself!
Honest to god, all I did was open Unity → then delete the Sub-State machine…that’s all…then this happened!
Please I hope someone can help, I’ve only put months and months and months of work into this and would really like to recover it!
Edit: I’ve tried copying and pasting component values and copying the state machine all to no avail! It looks like the animator/state machine is still intact but the GUI has corrupted somehow? Can I reset the GUI code on this particular animator somehow?
This is also in the console too, perhaps it will be helpful? -
'NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUI.CallWindowDelegate (UnityEngine.WindowFunction func, Int32 id, UnityEngine.GUISkin _skin, Int32 forceRect, Single width, Single height, UnityEngine.GUIStyle style) (at C:/BuildAgent/work/812c4f5049264fad/Runtime/ExportGenerated/Editor/GUI.cs:1023)
UnityEditor.DockArea:OnGUI()
The Mecanim window is trying to draw a Rect for an object that doens’t exist anymore.
You did something to delete the animation state that the Mecanim coders didn’t expect to happen, just send this project as bug report and roll back to a backup file… Don’t tell you are working for months on something and don’t have backups, every software ever created has bugs.
The Mecanim coders didn’t expect me to select the state then press the delete key? I better not try to delete the animator component…Unity might crash and become irreparably corrupted! LOL. Seriously, it’s like word corrupting an entire chapter of text if you were to delete a letter.
Haha, grumbling aside I sent the bug report and rolled back (which was only a days worth of work loss, not a month! :P)
Thanks for the explanation by the way…I just wish I could edit the mecanim GUI code and straighten it out myself.