Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.3.0f3
Issue ID
997948
Regression
No
[Shader] PerRendererData attribute has same functionality as HideInInspector which results in confused users
Problem: "MaterialProperty.PropFlags.PerRendererData" currently has the same functionality as "MaterialProperty.PropFlags.HideInInspector", both just stop the property from being displayed in the Material Inspector.
This attribute should probably either be removed or some functionality added, such as displaying a read-only property in Inspector that takes value from Renderer's MaterialPropertyBlock.
Currently, it confuses users, making them think it has some functional performance benefit.
https://docs.unity3d.com/ScriptReference/MaterialProperty.PropFlags.HideInInspector.html
https://docs.unity3d.com/ScriptReference/MaterialProperty.PropFlags.PerRendererData.html
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment