Unable to find style " in 'lightskin' | Custom Editor Programming

Hello!
I am making my own editor extension and I got this bug which makes the whole engine slow the heck down, and literally lag its ass off!

I got no idea how to fix it, nor did I find anything at the Internet nor on the forums!
Please help me out on this one :confused:

PS: It points at parts where I write such as:

GUILayout.BeginHorizontal(“”);

when you have BeginHorizontal(“someString”) it tries to use the style called “someString”
You are passing an empty string, so it’s trying to find a style called “” (which doesnt exist)
you can use an overload with no paramaters

You saved me from so much trouble!
I thought that when I wrote only (); without any parameters, it was giving an error but I think it was something else that gave the error then. Thank you so much! :smile:

1 Like