GUIClips problem I don't get

I get the “you are pushing more GUIClips than you are popping” error with this code:

And I really don’t see what the problem is.

If I comment out two of the Labels, it works fine. With 2 or 3 enabled, I get that error. What am I missing?

Should be fine…must be something in the other OnGUI code?

–Eric

It’s probably something in the fields[ ] array - if there is a null value/out of range, it can throw a GUI exception.

I found it.

Indeed, the problem was that if fields[1] isn’t set, it breaks.

I didn’t think it could, because fields is set through splitting up the lines and they have a known syntax, but I forgot that while it’s loading them, the only line is actually “loading”. :frowning: