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

Materials

-

Steps to reproduce:

  1. Create a new Unity project using a 3D Universal Template
  2. From the Project window, select the "PC_Renderer"
  3. From the Inspector, add the "Decal" Renderer Feature
  4. Right-click in the Hierarchy and add "Cube" or "Quad" GameObject
  5. Add "URP Decal Projector" Component to the GameObject
  6. 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
  1. 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.

  2. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.