dbrizov / NaughtyAttributes

Attribute Extensions for Unity
MIT License
4.53k stars 464 forks source link

Meta Attributes no longer work for seemingly no reason #349

Closed TheEmbracedOne closed 1 year ago

TheEmbracedOne commented 1 year ago

I noticed that BoxGroups no longer works on my scripts. I thought it was something in that specific script I made, but I couldn't find anything wrong there. I then checked the example scene and it doesnt work there neither. I removed NaughtyAttributes from my project then reimported it, but it doesnt fit the issue. It used to work before on this exact setup with this exact Unity version. I did not touch the NaughtyAttributes scripts.

Version is 2.1.4 My Unity version is 2021.3.9f1

Upon some further investigation, it seems that it affects Meta Attributes as the EnableIf/DisableIf and ShowIf/HideIf also don't work. In case of "ReadOnly", on the sample script, readonly int doesnt work but the rest do (see screenshots below)

Any idea what might be causing this?

Screenshot from the example scene: image Unity_iHQPpxGtdz Unity_xWqoDnSW0X

TheEmbracedOne commented 1 year ago

I figured out what caused this. It's an asset called NG Missing Script Recovery, that, as soon as I import, will break MetaAttributes.