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

Shaders

-

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.