playMaker

Author Topic: Editor error - Unity 5.2, latest Playmaker  (Read 2241 times)

firepanda

  • Playmaker Newbie
  • *
  • Posts: 3
Editor error - Unity 5.2, latest Playmaker
« on: October 06, 2015, 06:56:58 AM »
Error, which happens at launch, here: http://i.imgur.com/p9dfU9H.png

Code: [Select]
NullReferenceException: Object reference not set to an instance of an object
HutongGames.PlayMakerEditor.FsmEditor.RebuildFsmList ()
HutongGames.PlayMakerEditor.FsmEditor.SanityCheck ()
HutongGames.PlayMakerEditor.FsmEditor.OnHierarchyChange ()
HutongGames.PlayMakerEditor.FsmEditorWindow.OnHierarchyChange () (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:353)
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-runtime-and-classlibs/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-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:232)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/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:187)
UnityEditor.HostView.Invoke (System.String methodName) (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:180)
UnityEditor.HostView.OnHierarchyChange () (at C:/buildslave/unity/build/Editor/Mono/HostView.cs:150)

Sometimes this follows through to not being able able to open the FSM editor, but sometimes not... any help apreciated.


firepanda

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Editor error - Unity 5.2, latest Playmaker
« Reply #1 on: October 08, 2015, 10:47:16 AM »
im still getting this error and it makes it next to impossible to get anything done. Any ideas anyone?

dudebxl

  • Hero Member
  • *****
  • Posts: 602
Re: Editor error - Unity 5.2, latest Playmaker
« Reply #2 on: October 08, 2015, 11:35:34 AM »
Hi,

You can always roll back to 5.1 for now.. Anyway 5.2 for android, at least for me and lots of others are giving black sprites when built.. It seems to be issues with 5.2.x for now..

Just my two cents ..

firepanda

  • Playmaker Newbie
  • *
  • Posts: 3
Re: Editor error - Unity 5.2, latest Playmaker
« Reply #3 on: October 09, 2015, 06:13:32 AM »
If I comment out a line of script  -  91: fsmEditor.OnEnable();  - save, then uncomment and return to Unity it works. Not sure why, but there it is.

It's all in 3D (GearVR), so no sprite issues.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Editor error - Unity 5.2, latest Playmaker
« Reply #4 on: October 09, 2015, 01:05:13 PM »
Which script are you modifying?