Fix WNotNull duplicate warnings in Odin Inspector#192
Conversation
Co-authored-by: wallstop <1045249+wallstop@users.noreply.github.com>
Yes, this will render only one help box. When Odin Inspector is active, Unity's
The old code rendered the help box AFTER |
@copilot So, just to verify, this will render 0 or 1 help boxes, and never two? Concern is that moving this above just causes 2 help boxes to render above. |
Correct - this will render 0 or 1 help boxes, never two. The Original bug analysis: With the old code placing the help box after If you're still seeing duplicates after this fix, there may be another source (like a second attribute or Odin built-in validator) that needs investigation. |
Description
WNotNullOdinDrawerrendered help box after calling next drawer, causing duplicate warnings when Unity's PropertyDrawer also rendered one above. Reordered to render help box first.Before:
After:
Related Issue
Type of Change
Checklist
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.