playMaker

Author Topic: Enum Creator Error [FIXED]  (Read 404 times)

fish

  • Playmaker Newbie
  • *
  • Posts: 15
    • View Profile
Enum Creator Error [FIXED]
« on: December 06, 2018, 06:28:34 PM »
So I am getting this error with Enum Creator every time I try to open it.

Code: [Select]
GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

NullReferenceException: Object reference not set to an instance of an object
HutongGames.Rotorz.ReorderableList.ReorderableListControl.PrepareState (Int32 controlID, IReorderableListAdaptor adaptor) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:586)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.Draw (Int32 controlID, IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:1376)
HutongGames.Rotorz.ReorderableList.ReorderableListControl.DrawControlFromState (IReorderableListAdaptor adaptor, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListControl.cs:184)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.DoListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, HutongGames.Rotorz.ReorderableList.DrawEmpty drawEmpty, Single itemHeight, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:213)
HutongGames.Rotorz.ReorderableList.ReorderableListGUI.ListField[String] (IList`1 list, HutongGames.Rotorz.ReorderableList.ItemDrawer`1 drawItem, ReorderableListFlags flags) (at Assets/PlayMaker Utils/External Libraries/Rotorz/Reorderable List Field/Editor/ReorderableListGUI.cs:293)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_DoEnumDefinitionForm () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:341)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI_HorizontalSplitView () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:133)
HutongGames.PlayMakerEditor.Ecosystem.Utils.EnumCreatorWizard.OnGUI () (at Assets/PlayMaker Utils/Wizards/EnumCreator/Editor/EnumCreatorWizard.cs:115)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:295)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:288)
UnityEditor.HostView.InvokeOnGUI (Rect onGUIPosition) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:255)

I have removed and reimported: Enum Creator, Playmaker and the latest Unity 2018.2 but nothing has improved. Is it on my end? Or is it a global problem?
« Last Edit: January 20, 2019, 08:18:49 PM by Alex Chouls »

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Enum Creator Error
« Reply #1 on: December 12, 2018, 01:45:04 AM »
Hi,

 yes, I need to rework the UI for 2018, it will be available before the end of the year.

 Bye,

 Jean

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • View Profile
    • Haven Made
Re: Enum Creator Error
« Reply #2 on: December 26, 2018, 10:34:58 PM »
Just wanted to bump on this ;)

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • View Profile
    • Haven Made
Re: Enum Creator Error
« Reply #3 on: January 04, 2019, 03:54:33 PM »
Happy New Year bump! :D


jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Enum Creator Error
« Reply #4 on: January 08, 2019, 02:01:33 AM »
arghhh :)

Must get on this... thanks for the bump, I need this...

Bye,

 Jean

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • View Profile
    • Haven Made
Re: Enum Creator Error
« Reply #5 on: January 15, 2019, 02:35:26 PM »
Haha of course! :D

Honestly the enum creator is such a favorite of mine, even just for tracking and editing, you've done such a great job with it :)

Hope your new year has been great so far!

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Enum Creator Error
« Reply #6 on: January 17, 2019, 01:36:57 AM »
Hi,

 can you try the new version on the Ecosystem? I just updated it to work on 2018.3 ad I also moved all Utils packages from u4 to U5 github repository.

 If it's all ok on your end, I'll give a proper shout on the forum and tweeter.

 Sorry for the delay :)

Bye,

 Jean

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • View Profile
    • Haven Made
Re: Enum Creator Error
« Reply #7 on: January 17, 2019, 01:47:04 PM »
Hi Jean,

I just tried new version on Ecosystem, looks like the only thing not working properly is clicking 'edit' to an existing enum. It seems to enter edit mode, but does not create a list of items to view/reorder from the enum :)

Oh gosh no worries at all about the delay, you're a busy man!

-craigz

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Enum Creator Error
« Reply #8 on: January 17, 2019, 11:49:40 PM »
Hi,

 odd, I can't repro, could you do a screencast? maybe there is a step I am not doing properly to repro.

Bye,

 Jean

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 13857
  • Official Playmaker Support
    • View Profile
Re: Enum Creator Error
« Reply #9 on: January 18, 2019, 12:39:20 AM »
Hi,

 ok, I could repro eventually, I fixed it. Let me know if you find more issues :) Appreciate your feedback, it helps!

 Bye,

 Jean

craigz

  • Beta Group
  • Full Member
  • *
  • Posts: 174
    • View Profile
    • Haven Made
Re: Enum Creator Error
« Reply #10 on: January 20, 2019, 04:22:33 PM »
Excellent! Working as expected now :)

Sorry for the late reply on repro steps, but yes, was literally just click edit to existing item xD

Thanks again Jean!  :D