Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: artician on July 19, 2011, 12:52:01 PM
-
I get this assertion when I am loading from one scene into another, with a single object that has a "Don't Destroy On Load" FSM on it. The same object has a single Float variable, and three String variables. If I load the scene directly it works fine.
My problem is that I can't figure out what the error is, or what object/component/action is causing it. Can anyone help with this?
NullReferenceException: Object reference not set to an instance of an object
PlayMakerGUI.<DrawStateLabels>b__0 (HutongGames.PlayMaker.Fsm x, HutongGames.PlayMaker.Fsm y)
System.Array.qsort[Fsm] (HutongGames.PlayMaker.Fsm[] array, Int32 low0, Int32 high0, System.Comparison`1 comparison)
System.Array.Sort[Fsm] (HutongGames.PlayMaker.Fsm[] array, Int32 length, System.Comparison`1 comparison)
Rethrow as InvalidOperationException: Comparison threw an exception.
System.Array.Sort[Fsm] (HutongGames.PlayMaker.Fsm[] array, Int32 length, System.Comparison`1 comparison)
System.Collections.Generic.List`1[HutongGames.PlayMaker.Fsm].Sort (System.Comparison`1 comparison)
PlayMakerGUI.DrawStateLabels ()
PlayMakerGUI.OnGUI ()
-
*boing*
Can someone help me parse this? It seems like a general unity error, but seems to choke on something related to PlayMaker. If I need to bug someone on the Unity forums, or if this means I fail at life, please tell me so I can just move on! :)
-
So, as it turns out, turning off the options within the PlayMakerGUI object within each of my scenes fixes this assertion.
Could someone please confirm if this is a known issue?
-
This should be fixed in the latest 1.2 beta.