Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Developer Description propertydrawer doesn't work with default Unity inspector #3

Closed
DanielEverland opened this issue Oct 9, 2018 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@DanielEverland
Copy link
Owner

DanielEverland commented Oct 9, 2018

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.

@DanielEverland DanielEverland added the bug Something isn't working label Oct 24, 2018
@DanielEverland DanielEverland added this to the Release 1.3.3 milestone Oct 24, 2018
Monsoonexe added a commit to Monsoonexe/ScriptableObject-Architecture that referenced this issue Oct 19, 2021
If a scene was DanielEverland#3 visibly in the build index, but a scene above it was disabled, then the index shown in the SceneVariable would be off by 1 and cause problems when loading by integer.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant