Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: getluky on December 19, 2012, 09:23:53 AM

Title: Weird error keeps breaking editor
Post by: getluky 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?
Title: Re: Weird error keeps breaking editor
Post by: Alex Chouls 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...
Title: Re: Weird error keeps breaking editor
Post by: getluky 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.

Title: Re: Weird error keeps breaking editor
Post by: getluky 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.
Title: Re: Weird error keeps breaking editor
Post by: Alex Chouls on December 19, 2012, 11:11:56 AM
Thanks! I think that's unrelated (and harmless), but it's good to know...