Search Issue Tracker
By Design
Votes
0
Found in [Package]
9.0.0-preview.14
Issue ID
1240240
Regression
No
[WebGL] [URP] Camera clearing artifacts can be seen in build when using Chromium-based browsers
Reproduction steps:
1. Open the attached project ("case_1240240-BufferBug.zip")
2. Open the repro scene ("ReproductionScene")
3. Switch build target to WebGL
4. Make a WebGL build
5. Run it on Chromium-based browser (Chrome, Edge)
Expected result: No artifacts are visible
Actual result: Camera clearing artifacts can be seen
Reproducible with: 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Couldn't test with: 2018.4.23f1 (LWRP 4.1.0), as Depth passes are not supported
Reproducible with package (URP) versions: 7.3.1, 8.1.0, 9.0.0-preview.14
Reproduces on: Chrome (Version 83.0.4103.6), Edge (Version 83.0.478.44)
Does not reproduces on: Firefox (77.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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
Resolution Note:
The depth mask prevented the skybox from being drawn. Thus no shader did any color writes to that area. The values are as undefined as they are if the user would select Unitialized as Background Type.
Using Solid Color background type in a camera makes all values initialized to the desired value by user.
Due to performance reasons we don't want to change skybox rendering so that first the skybox is rendered and then everything else. It's more efficient to render skybox last so that areas where it's not visible are not drawn at all.