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
- [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
Resolution Note (2021.1.X):
As a workaround, "spacing" type can be changed to "float" or a ternary operator can be used.