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
- URP Decal Projectors don't render when they are hidden in the Hierarchy, unlike other GameObjects
- Reflection Probe “adjusting number of stops to over or under expose the texture” setting does not update in Scene realtime
- UI Toolkit rendered text breaks when toggling FontWeight styles through code
- Transparent pixels are still hit when alphaHitTestMinimumThreshold is set to a non-zero value
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
Resolution Note (fix version 2020.1):
Fixed in: 2020.1.0a4