WooshiiDev / HierarchyDecorator

Lightweight Unity Plugin transforming the Hierarchy into what it should be. Adds headers, styles, icons and more.
MIT License
1.02k stars 47 forks source link

Bug - Custom icons do not show immediately #61

Closed oliverbooth closed 2 years ago

oliverbooth commented 2 years ago

Current Unity version used 2021.3.3f1

Describe the bug When disabling Show All Icons, adding a new custom icon doesn't take effect until you add another.

To Reproduce (If applicable)

Screenshots Unity_JfWAILo2fq

Additional context I have tried adjusting other settings, like disabling the component icon and re-enabling it again, switching back to Show All Icons and back off again, nothing works. The only thing that seems to fix it, is adding a new custom icon - which you then have to delete again because it's not necessary to have a duplicate.

WooshiiDev commented 2 years ago

Cheers for reporting this! I probably would not have noticed this for some time 😓

The checks for custom types do not update the data stored unless the component field was previously null. As I'm rewriting the settings I'll make sure to note this for upcoming development.

I've released a new hotfix v0.8.8 with this fixed.

hd_custom_icon_switching

oliverbooth commented 2 years ago

Seems to work on my end! Thanks for the fix. Fantastic package btw

WooshiiDev commented 2 years ago

Issue closed as bug has been confirmed as fixed.