Search Issue Tracker
By Design
Votes
2
Found in
2022.3.58f1
6000.0.39f1
6000.1.0b7
6000.2.0a4
6000.3.0a1
Issue ID
UUM-98375
Regression
No
Shader transparency, discard, and clip are not working when using the Player
Reproduction steps:
1. Open the attached “IN-95148_Shader_Test.zip“ project
2. Open the “Assets/Scenes/SampleScene.unity“ Scene
3. Enter the Play Mode
4. Hover over the red cubes and observe the behavior
5. Build And Run the project (File > Build And Run)
6. Hover over the red cubes and observe the behavior
Expected result: Inside the Player, the cubes start disappearing when the sphere is next to them
Actual result: Inside the Player, the cubes are still present, only opacity is changed
Reproducible with: 2022.3.58f1, 6000.0.39f1, 6000.1.0b7, 6000.2.0a4
Reproducible on: Windows 11 (User’s platform), M1 Max MacOS 15.1.1 (Tested by CQA)
Not reproducible on: No other environment tested
Note:
- The issue is only reproducible in the 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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
When creating a CustomPass using ShaderGraph, setting the entry point to BeforeRendering prevents proper keyword evaluation.
I resolved this issue by providing users with various suggestions on how to fix it.