Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2018.4
2019.4
2019.4.15f1
2020.1
Issue ID
1297542
Regression
No
[WebGL 2.0] Depth RenderTexture is black when running the build in the browser
How to reproduce:
1. Open the user's attached "TestRenderTextureDepthWebGL.zip" project
2. Open the "SampleScene" Scene
3. Observe the Game view
4. Go to File -> Build And Run
5. Observe the application in the browser
Expected result: The depth RenderTexture is properly captured and displayed over the cube
Actual result: The depth RenderTexture is black
Reproducible with: 2018.4.30f1, 2019.4.16f1, 2020.1.0a3
Not reproducible with: 2020.1.0a4, 2020.1.17f1, 2020.2.0f1, 2021.1.0a9
Notes:
- The issue is not reproducible on Windows Build
- The issue is not reproducible in Play Mode
- The issue is not reproducible with WebGL 1.0
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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0a4