Search Issue Tracker
Fixed in 2020.1.X
Fixed in 2019.3.X
Votes
0
Found in
2018.3.0a1
2018.4
2019.2
2019.3
2019.3.0b1
Issue ID
1187094
Regression
Yes
Shaders compile as Shader Model 4+ even though the Graphics API is set to OpenGLES2 and Shaders are set to target Shader Model 2
To reproduce:
1. Open the user's attached project
2. Select the "SahderBug" shader in the Assets folder
3. Set the Compiled code only on OpenGLES20
4. Compile and show
5. Scroll to line 67, the exact line might differ from version to version
Expected: Compiling the shader does not produce any operators that are not compatible with devices that don't support Shader Model 4
Actual: Compiling a certain bit of shader code results in bitwise operator
Reproduced with: 2018.3.0a1, 2018.4.11f1, 2019.2.9f1, 2019.3.0b6,
Not reproduced with: 2017.4.33f1, 2018.2.13f1
2020.1.0a8 output differs from all the others so it's hard to say if it reproduces the issue or not
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment