Closed Sookhaal closed 3 years ago
Very interesting bug. I'll address it as soon as I can and push a hotfix.
I believe that a proper fix would be to construct a new GUIContent instead of using the existing one passed in the function. What's likely happening is this GUIContent is passed around for the rest of the drawers in Unity/Odin. My mistake 😅
Also, I noticed that the tooltip has a couple typos in it so that will be fixed too.
Thanks for reaching out to me on this! This is well documented. 🙂
I tested with Odin and can verify it's fixed. It's in the package update 1.3.9. 👍 Here was my solution: 9d2d3d8
Awesome, thanks for the fix! Great job with that package :)
Whenever Odin is active and an array with the LDtkField attribute is drawn on the inspector, a weird graphic bug happens. The ldtk icon
d_SimpleIcon.png
gets drawn everywhere and every tooltips get messed up.With Odin active and no arrays opened, everything is working as expected:
But as soon as you open an array:
And that icon is drawn every where in Unity:
Also the tooltip gets drawn at the bottom of the inspector (it was working well before opening up the array):
I did a temporary fix to quickly solve the issue on my side, but I'd rather have a proper fix if possible: