Search Issue Tracker

Fixed in 5.3.5

Votes

0

Found in

5.3.1f1

Issue ID

763638

Regression

Yes

[GLES] Since 5.3 default shader precision statement inserted in wrong place (before #extension)

OpenGL

-

When writing shaders in GLSLPROGRAM snippets and adding #extension there, Unity compiles them and inserts additional default precision statements. But it does not skip past the #extension directives (which along with #version should be the first thing in the file).

Apparently regression since 5.2 due to b0b4628931fa

Add comment

Log in to post comment

All about bugs

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