Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  ArgumentException: Getting control 0's position in a group with only 0 controls when
#5
(27-11-2019, 09:40 AM)josemendez Wrote: Hi there,

Still unable to reproduce. Downloaded the exact same Unity version you have, but nothing.

This error generally happens when the amount of UI controls between the layout phase and the rendering phase are not the same. The stack trace points to a run of the mill GUILayout.Toggle(), called in OnSceneGUI(), so it's pretty standard, low-risk stuff. Drawing a regular toggle in a regular editor callback simply shouldn't fail.

The only cause I can think of is that some other asset/editor extension is tinkering with the UI render stack, leaving it in a broken/corrupted state by the time Obi tries to draw the path editor UI.

Could you try this in a fresh project, and report back the results?

Thanks for the quick responses. Yes, when setup in a fresh project everything works great. Aura Volumetric Lighting is enabled in the other project. It's the only thing with editor UI components and they're always on so there must be something going on there. I know you can't do anything with that but I suppose others should know that the two don't seem to work well together. I'll just get rid of Aura, then I'll be back on track. Thanks again.
Reply


Messages In This Thread
RE: ArgumentException: Getting control 0's position in a group with only 0 controls when - by adamamtiam - 27-11-2019, 10:10 AM