This repository was archived by the owner on May 9, 2025. It is now read-only.
This repository was archived by the owner on May 9, 2025. It is now read-only.
Developer Description propertydrawer doesn't work with default Unity inspector #3
Closed
Description
ArgumentException: Getting control 4's position in a group with only 4 controls when doing Repaint
is thrown at line 27 in DeveloperDescription which is
textAreaRect = GUILayoutUtility.GetRect(fieldSize.x, fieldSize.y);
For some reason this only happens if the inspector isn't custom. I tried moving the GetRect call into separate event types (Repaint and Layout) without any luck
Since I already use custom inspectors for everything but variables, I just decided to implement it for them as well. Can't be fucked with IMGUI.