Skip to content
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
@DanielEverland

Description

@DanielEverland

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions