Search Issue Tracker
Fixed in 10.0.0
Votes
0
Found in [Package]
5.3.1
Issue ID
1240228
Regression
Yes
[WebGL] [URP] Scene is rendered black in WebGL build when Depth Texture is enabled
Reproduction steps:
1. Open the project from the attached file "1240228.zip"
2. Make sure Depth Texture is enabled in the UniversalRenderPipelineAsset settings
3. Build the project
4. Inspect the WebGL build in the browser
Expected result: the game window in the browser is rendered
Actual result: the game window in the browser is fully black
Reproducible with: 5.3.1(2019.2.0a11), 7.3.1(2019.3.14f1, 2020.2.0a11), 8.1.0(2020.1.0b9, 2020.2.0a11), 9.0.0-preview.14(2020.1.0b9, 2020.2.0a11)
Not reproducible with: 4.10.0-preview(2018.4.22f1), 2019.2.0a11(5.2.3)
Notes:
- Does not reproduce on Windows or Mac build
- Default quality settings are the same for Windows and WebGL
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
- Project Settings Package Manager dropdown button text becomes offcentered when any new package is installed
- iOS Xcode project building fails when the build is appended
- 2D Colliders, attached to a grandchild GameObject, aren't immediately destroyed when destroying the parent GameObjects in FixedUpdate
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
Resolution Note (fix version 10.0.0):
The fix has been submitted to the URP project. I will get the fix backported to the current versions of URP once it's in.
Fixed in 10.0.0-preview.26