Search Issue Tracker
Fixed
Fixed in 2021.3.9f1, 2022.1.12f1, 2022.2.0b7, 2023.1.0a4
Votes
1
Found in
2021.3.5f1
2022.1.5f1
2022.2.0a17
2023.1.0a1
Issue ID
UUM-6664
Regression
No
Decal Layer Texture lifetime in rendergraph
The Decal layer texture that is written during the prepass and used during dbuffer pass has the same format as the gbuffer 4 used for light layers during gbuffer pass
In theory rendergraph should reuse the texture but there are two issues:
- currently decal texture is bound as global and we actually use it during forward opaque if there are decal affecting emissive. Rendergraph is not aware of that which is bad
- decal texture needs enableRandomReadWrite flag, so rendergraph sees a different descriptor than gbuffer4 and doesn't reuse the texture
Proposed fixes:
- DecalSystem should say if there are decals affecting emissive so we can tell rendergraph we use the texture during forward
- if we don't use it, we should reuse the decal texture for gbuffer, either by doing it manually or by requesting a texture with enableRandomReadWrite so that rendergraph gives us the decal texture (not a good solution i thinkà
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
- "One or more data file missing for baking set NewScene Baking Set. Cannot load shared data." error in Player when a specific project is built
- Choosing new HDR Colour using RGB values breaks colour on Intensity Selectors
- Rendering/Decal Layer Mask options are different inside Prefab Mode and outside Prefab Mode when the project is upgraded to Unity 6
- Incorrect Realtime GI Light Probes baking when more than one Light Probe Group is used and "Baked Global Illumination" is enabled
- Hovering on the three-dot menu also highlights the tab header near it when not all tabs fit the bar
Resolution Note (fix version 2023.1.0a4):
https://github.cds.internal.unity3d.com/unity/unity/pull/11016
Resolution Note (fix version 2022.2.0b7):
https://ono.unity3d.com/unity/unity/pull-request/144453/_/2022.2/graphics/hd/bugfix5