Closed forestrf closed 2 years ago
Hi! Tried your code in 2020.3.36f1, doesn't seem to break for me. Could you try to replicate it in an empty project?
You are right, sorry, it does indeed work in an empty project, it must be something on my project giving problems. I will try to find what it is. Thank you a lot and sorry for the trouble. Thanks a lot for this asset.
Found the problem, I had a custom HideIf material property drawer in my project since probably several years ago and forgot about it. Removing it fixed it (nothing was using it anyway).
HideIf inside a shader doesn't work for me:
With this test code, HideIf isn't working but ShowIf (and the rest of the tags in this repository) work.
When HideIf should be showing the property instead it seems to show an invisible, 1 pixel tall item where the property should be so I assume it is trying to do it. HideIf does work on [Toggle] properties.
Unity 2020.3.36f1 (Latest 2020 version). Windows 10.