Search Issue Tracker
Won't Fix
Votes
1
Found in
2020.3.46f1
2021.3.22f1
2022.2.13f1
2023.1.0b10
2023.2.0a8
2023.3.0a3
6000.0.0b11
Issue ID
UUM-31490
Regression
No
Outlines are visible on Mesh when Alpha Clipping is enabled and Surface Type is set to Opaque
Reproduction steps:
1. Open the attached “AlphaClippingProblem” Project
2. Open the “Assets/OutdoorsScene.unity” Scene
3. In the Scene View, observe the “Disk” GameObject
Expected result: The “Disk” GameObject does not have outlines
Actual result: The “Disk” GameObject has outlines
Reproducible with: 2020.3.46f1, 2021.3.22f1, 2022.2.13f1, 2023.1.0b10, 2023.2.0a8
Reproducible on: Intel MacOS 13.2.1
Notes:
The issue is not reproducible when Surface Type is set to “Transparent”
Changing the properties of the “Sky and Fog Volume” GameObject showcases the issue more vividly
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
- Mouse and Pointer Events are called incorrectly in ScrollView with XRUIInputModule
- Scene view freezes when "NullReferenceException" is thrown in a .delayCall
- Memory leak occurs when repeatedly minimizing and maximizing the UI Builder window
- Crash on block_remove when opening a project with a corrupted library
- Scene View tab becomes unclickable when opening a message from the Console Window with Visual Studio
Resolution Note:
The resolution of this issue depends on whether the color texture uses pre-multiplied alpha or not. Unfortunately, there is no way to tag or generate textures for different alpha compositing modes in Unity right now. There are no guidelines for proper texture authoring, either. Therefore, we cannot make any assumptions about the makeup of the color texture, which makes the bug impossible to fix.
In general, I would suggest using pre-multiplied alpha for alpha blending, and avoiding it for alpha clipping.