Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: JonathanBurroughs on September 18, 2014, 09:17:23 PM
-
Hey y'all,
I'm getting the following error appearing in my Console every frame:
Expected top level layout group missing! Too many GUILayout.EndScrollView/EndVertical/EndHorizontal?
UnityEditor.DockArea:OnGUI()
Any idea what might be causing this? My interpretation is that I'm drawing too many GUI elements, but I can't tell how this would be.
-
Maybe there are missing some End Area for layouts?
-
What is a missing End Area, 600?
-
When you build GUI Layout for exapmle:
Start Horizontal, then Start Vertical etc.
after that you need to add End Vertical etc.
Some times I forget or miss to add this, so maybe thats that error?
-
Hmm. So far I've only been using GUI Button, GUI Label and Draw Texture. I hadn't set up any GUI Layouts. But maybe that is itself the problem?
-
Error shown that problem is in GUILayout, if you are using simple GUI actions not GUILayout actions,
maybe there are GUILayout action by mistake in between regular GUI actions?
Your setup is without GUILayout?
-
I haven't called any GUILayout actions as far as I can tell.
I do use a GUI Skin to define the appearance of my GUI elements though.
-
Hmmm weird.
Maybe there are added some or one GUILayout action be mistake in some state, you could check Actions browser GUILayout actions if theres a count how many times used and where to find if thats the case.
If not, then Im not sure why you have that error, maybe a PM Dev could help.
Good luck sorting this out :)
-
Heh. Thanks! Rather than debug it I've spent the day porting the GUI to Daikon Forge. I can't say I'm regretting it. DF is infinitely more powerful than Unity's UI. I'm glad it forced me to make the switch.
-
Heh. Thanks! Rather than debug it I've spent the day porting the GUI to Daikon Forge. I can't say I'm regretting it. DF is infinitely more powerful than Unity's UI. I'm glad it forced me to make the switch.
DKForge is fine if you're targeting Windows/Mac, but if you're going to be targeting mobile I don't recommend DKForge at all. The performance was abysmal for me.
Having said that, they're working on DKForge v2 at the moment, which is being rewritten from scratch to be mobile friendly.
The unity 4.6 uGUI stuff was kinda promising. I did some tests earlier this week, and whilst it's buggy and some things just don't work properly at the moment, the ResolutionReference stuff worked great, and the performance was pretty great. I reckon in a couple of months when things have been sorted, uGUI will pretty good.
-
That's reassuring to know, jess84. And it's useful to know Daikon Forge is a performance-hog. We're only targeting PC and Mac for now, so fingers crossed we'll be okay.
-
That's reassuring to know, jess84. And it's useful to know Daikon Forge is a performance-hog. We're only targeting PC and Mac for now, so fingers crossed we'll be okay.
hi
as far as im aware daikon forge gui is no more! its been taken from the asset store already and i don't think dfgui 2 will ever be released.
Takuan thinks because of uGUI its over for all other gui devs, so hes called it a day, but is thinking about releasing the source.
my advice stay away from DFGUI i had nothing but nightmares with it, went over to NGUI still had nightmares but no where near as bad!
hope this helps.
-
Heh. Too late. I've gone and ported all my UI over to it today. Daikon Forge was made open source a few weeks ago:
http://www.daikonforge.com/forums/threads/dfgui-open-source.2248/page-2#post-10816