playMaker

Author Topic: Level Load Assert [solved]  (Read 2055 times)

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 296
    • View Profile
Level Load Assert [solved]
« on: July 19, 2011, 09:52:01 AM »
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?

Quote
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 ()

« Last Edit: July 21, 2011, 05:53:26 AM by artician »

artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 296
    • View Profile
Re: Level Load Assert
« Reply #1 on: July 21, 2011, 02:32:23 AM »
*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!  :)


artician

  • 1.2 Beta
  • Sr. Member
  • *
  • Posts: 296
    • View Profile
Re: Level Load Assert [solved]
« Reply #2 on: July 21, 2011, 05:54:09 AM »
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? 

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 3632
  • Official Playmaker Support
    • View Profile
    • LinkedIn
Re: Level Load Assert [solved]
« Reply #3 on: July 21, 2011, 07:25:08 AM »
This should be fixed in the latest 1.2 beta.