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

Errors when trying to create settings file on first import #3

Closed SilentSin closed 4 years ago

SilentSin commented 4 years ago

In HierarchyDecoratorSettings.cs right below //Quick fix for now to stop duplication issues it needs to null check the components:

if (components != null && components.Count > allTypes.Length)

It should probably also just Clear the list instead of allocating a new one, but I haven't looked any further into it.

WooshiiDev commented 4 years ago

Hello there! Thanks for reporting this, helps me out a lot when I miss some things 😓

This should be entirely fixed now, I've had this issue for a week or so now and should have been sorted as soon as possible, including the fact someone else mentioned it to me.

Thanks again for the report on it, you have any other issues feel free to add another issue! ~ Wooshii \o.