Search Issue Tracker

Fixed in Unity 2018.1

Votes

0

Found in

2017.1.0p4

Issue ID

944334

Regression

Yes

[KeywordEnum(UV1, UV2)] in shaders causes a compilation error when building for Standalone

Shaders

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

Steps to reproduce:
1. Download and open the attached project
2. Build for Standalone to force a shader recompile

Expected result: build compiles shaders without failure
Actual result: Shader error in 'Camo/Metallic/Opaque': Did not find shader kernel 'vert_surf' to compile (on d3d11)

Reproduced on 2017.1.0a1*, 2017.1.0p5, 2017.2.0b9, 2017.3.0a6
Not reproduced on 5.6.3p2
Regression introduced on 2017.1.0a1

*On 2017.1.a1 the build completes successfully, though the error is still thrown. On future version the build fails due to this. The shader works completely fine in the editor

Verified FIXED 2017.3.0b8, 2018.1.0a3

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.