Search Issue Tracker
Fixed
Votes
0
Found in
2022.3.5f1
2023.3.0a1
Issue ID
UUM-43515
Regression
No
[URP] Deferred Rendering layers sometimes do not contain information in the Gbuffer
When enabling rendering layers in deferred, it seems the values are not written into the Gbuffer. If you add the Decal Renderer Feature then go into playmode, the rendering layers will start to work, I assume due to the Decal feature requesting Rendering Layers?
On a side note while looking at this bug, it also seems that just adding decals will make rendering layers work even though rendering layers are not enabled on the decal feature, not sure if there is a more severe underlying issue here with decals also.
(new repro steps are in the Comments)
Repo Steps:
1. open attached project
2. load the SampleScene
3. both cubes are black
4. find the Settings/URP-HighFidelity-Renderer.asset
5. enabled the Decal feature
expected results: nothing should change as one of the cubes should be lit already
actual results: suddenly one of the cubes are lit and the other remains black due to rendering layers working.
Earliest repo:2022.3.5f1, not sure if it is a regression as I didn't test that far back, also repos in 2023.2.0a20
Feel free to reach out to me AndreM if you have any issues reproducing this bug.
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-61041