Search Issue Tracker
By Design
Votes
0
Found in
2021.3.30f1
2022.3.9f1
2023.1.12f1
2023.2.0b8
2023.3.0a4
Issue ID
UUM-48041
Regression
No
Mesh with a Custom Shader appears to overlap when rendering with Blending Mode set to Alpha or Premultiply
How to reproduce:
1. Open the attached “MeshXBug.zip“ project
2. Open the “Bug Demo“ Scene
3. Enter Play Mode
Expected result: Mesh is rendered correctly
Actual result: Some parts of the mesh aren’t rendered correctly (it looks like some parts of the mesh overlap each other)
Reproducible with: 2021.3.30f1, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a4
Reproducible on: macOS 13.4.1 Ventura (Intel)
Not reproducible on: No other environment tested
Notes:
- Issue does not reproduce if the “TransparencyBug“ shader has Blending Mode set to Additive or Multiply
- Also reproducible in Player
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 when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note:
for the blending to work properly a multipass shader that writes to depth before writing the water is required, so that the depth test can be enabled preventing to write overlapping fragments and the order is preserved