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
- Missing script error when clicking “script” link in Cave scene’s Water Sample Description
- [VFX Graph] Set Position Shape Gizmo isn't refreshed after shaper switch
- NullReferenceException is thrown when trying to access volumeStack from the HDCamera class
- Visual artifacts appear when using an Orthographic camera with a Reflection Probe
- Not all animation properties are accessible when a prefab with an avatar model contains a nested copy of itself with a renamed GameObject
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.