Search Issue Tracker
By Design
By Design in 6000.5.X
Votes
0
Found in
6000.0.64f1
6000.2.15f1
6000.3.1f1
6000.4.0b1
6000.5.0a3
Issue ID
UUM-129702
Regression
No
URP Decal Projector flickers/glitches when added to Cube or Quad GameObjects as a Component
Steps to reproduce:
- Create a new Unity project using a 3D Universal Template
- From the Project window, select the "PC_Renderer"
- From the Inspector, add the "Decal" Renderer Feature
- Right-click in the Hierarchy and add "Cube" or "Quad" GameObject
- Add "URP Decal Projector" Component to the GameObject
- Move around in the Scene view and observe the Decal
Actual results: The Decal flickers/glitches
Expected results: No flickering or glitching is observed on the Decal
Reproducible with versions: 2023.1.0b1, 6000.0.64f1, 6000.2.15f1, 6000.3.1f1, 6000.4.0b1, 6000.5.0a3
Tested on (OS): macOS 26.1 (M1 Pro), Windows 11
{}Notes:{}{}{{}}
- The issue is specific to the default position of Decal when is is created, as moving it to different positions does not reproduce the bug
- Appears to only reproduce when adding a URP Decal Projector Component on an existing GameObject and not when creating a separate Decal GameObject
- Could only reproduce with "Quad" and "Cube" 3D Objects
- Visible both in Scene and Game views
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
- Diagnostics logs are missing, duplicated, or out of order when viewing Player sessions in Cloud Diagnostics
- Prefab Overrides “Apply” button is too big and overlaps with the context menu’s outline
- Prefab Overrides “No Overrides” text is too large, and the the Context Menu of the Parent GameObject has a lot of empty space when opened
- “Screen position out of view frustum...” errors are thrown when zooming out in the Scene view after creating UI GameObject
- CurveTexture is not being released when unloading AssetBundle containing a Scene with ColorCurves post-processing component in Global Volume
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the Z-fighting issue is expected as both the Decals and the surface on which it is projected are opaques are in the exact same position. In order to solve this, adjust the Mesh Bias accordingly (see https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.0/manual/decal-shader.html#mesh-bias-type).
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.
Resolution Note (6000.5.X):
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the Z-fighting issue is expected as both the Decals and the surface on which it is projected are opaques are in the exact same position. In order to solve this, adjust the Mesh Bias accordingly (see https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@12.0/manual/decal-shader.html#mesh-bias-type).
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.