Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4.1f1
2020.2
Issue ID
1260395
Regression
No
[Shader Compiler] Shader does not render correctly in perspective view when using WebGL builds
Reproduction steps:
1. Open the attached project ("case_1260395-OpenGLShader.zip")
2. Switch build target to WebGL
3. Make a WebGL build and run it
4. Inspect the Game Window
Expected result: Red grid can be seen
Actual result: Solid red square can be seen instead of the grid
Reproducible with: 2018.4.25f1, 2019.4.4f1. 2020.1.0b16
Tested with: Chome (83.0.4103.116), Firefox (78.0.2), Edge (83.0.478.61)
Notes:
1. The issue does not reproduce in the Editor (tested with DX11, OpenGLES3 graphics APIs)
2. The issue does not reproduce on Windows10 Standalone build (DX11, OpenGLES3)
3. The issue does not reproduce in orthographic view
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
- MacOS persistentDataPath uses old path when built compared to Editor Play mode
- Crash on RaiseException when entering Play Mode in a specific project
- Debug Console does not reappear when disabling and re-enabling Debug.developerConsoleEnabled
Resolution Note (2021.1.X):
As a workaround, "spacing" type can be changed to "float" or a ternary operator can be used.