Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.4.0b16
Issue ID
793168
Regression
Yes
[Material] Header attribute causes first property after it to have same name as header
Steps to reproduce:
1. Open attached project
2. In project tab, select "NewSurfaceShader broken" material
3. Notice toggle property named "Header Text" although in shader it's declared as "Toggle label text":
[Header(Header Text)]
[Toggle] _Toggle("Toggle label text", Float) = 0.0
Reproduced with: 5.4.0b8, 5.4.0b17
Not reproducible: 5.3.4p5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment