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

Warning: No script asset for HierarchyPreferences. Check that the definition is in a file of the same name. #16

Closed Thane5 closed 3 years ago

Thane5 commented 3 years ago

I installed it via git URL and as a folder import, and this warning keeps appearing.

Tested in Unity 2020.2

WooshiiDev commented 3 years ago

Hello there Thane,

I've investigated this and attempted to reproduce this warning appearing, could you provide a screenshot? Is it coming from HierarchyDecorator's files?

Thanks

Thane5 commented 3 years ago

I had this yesterday everytime i installed the plugin, even after restarting Unity. But it seems that after booting my PC up again today, its not there anymore.

Thane5 commented 3 years ago

Okay the warning is back now...

It seems something funky is going on here, i also opened a project i havent touched in weeks, and the settings for Hierarchy Decorator apparently reset themselves. I'm not sure what to make out of this, but here you have a screenshot:

Warning

Thane5 commented 3 years ago

Here is a more detailled warning that just appeared in the same project Warning

WooshiiDev commented 3 years ago

Hello @Thane5,

could I ask, is this the most recent version of HierarchyDecorator?

Currently, I'm reworking some of the systems, as I've been busy elsewhere and I've unfortunately had to leave work on this. So if there's any problems with the current versions I'll instantly get to fixing them.

This may be a problem to do with the AssetDatabase, but I'm curious what's causing it to happen.

Thane5 commented 3 years ago

The package Manager says 0.4.6

WooshiiDev commented 3 years ago

Hmm that's quite interesting, I'll do some investigation and see if I can get this to reproduce. I did attempt yesterday on some blank projects, but I'll see what I can do. It may even be a meta file issue.

Thane5 commented 3 years ago

My bad, turns out this was caused by another script that modifies the Hierarchy window.