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
#4
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 in the layout phase and the rendering phase of a single frame 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?
Reply


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