playMaker

Author Topic: Weird error keeps breaking editor  (Read 4440 times)

getluky

  • Playmaker Newbie
  • *
  • Posts: 7
Weird error keeps breaking editor
« on: December 19, 2012, 09:23:53 AM »
I'm getting this error over and over in my console somewhere within the Playmaker DLL, and it breaks my ability to select GameObjects in the hierarchy, and requires a Unity restart to solve:

Code: [Select]
Unable to use a named GUIStyle without a current skin. Most likely you need to move your GUIStyle initialization code to OnGUI
UnityEditor.EditorGUIUtility:PingObject(Object)
HutongGames.PlayMakerEditor.FsmSelection:SelectActiveFsmGameObject()
HutongGames.PlayMakerEditor.FsmEditor:SelectFsm(Fsm)
HutongGames.PlayMakerEditor.FsmEditor:OnEnable()
FsmEditorWindow:OnEnable() (at Assets/PlayMaker/Editor/FsmEditorWindow.cs:82)

Searched, but couldn't find any information about it. I'm using Unity 4.0 with the latest asset store Playmaker. Any ideas?

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Weird error keeps breaking editor
« Reply #1 on: December 19, 2012, 10:35:52 AM »
Strange. I've posted this error to the Unity beta group asking if there's been any changes to PingObject in Unity 4. I haven't seen this error in older versions of Unity...

Does closing/opening the Playmaker window stop the error? Instead of restarting Unity...

getluky

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Weird error keeps breaking editor
« Reply #2 on: December 19, 2012, 10:54:05 AM »
No, I don't think so.

IIRC that used to help when the UI wouldn't let me change the name of a state... but now I have to completely close and restart Unity.


getluky

  • Playmaker Newbie
  • *
  • Posts: 7
Re: Weird error keeps breaking editor
« Reply #3 on: December 19, 2012, 11:00:02 AM »
FYI, this log message is also showing up around the same time:

Code: [Select]
Cleaning up leaked objects in scene since no game object, component or manager is referencing them
 PlayMakerGlobals has been leaked 1 times.

Alex Chouls

  • Administrator
  • Hero Member
  • *****
  • Posts: 4000
  • Official Playmaker Support
    • LinkedIn
Re: Weird error keeps breaking editor
« Reply #4 on: December 19, 2012, 11:11:56 AM »
Thanks! I think that's unrelated (and harmless), but it's good to know...