Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.4
2020.3
2021.1
2021.1.11f1
2021.2
2022.1
Issue ID
1342930
Regression
No
Material is displayed differently in the Game and Scene view when using GrabPass and ZWriteOn
How to reproduce:
1. Open the user's attached project and Scenes/SampleScene scene
2. Observe the GrabPassTest GameObject in the Scene/Game view
Expected result: it's transparent in both views
Actual result: it's transparent in the Scene view and solid black in the Game view
Reproducible with: 2018.4.36f1, 2019.4.29f1, 2020.3.14f1, 2021.1.14f1, 2021.2.0b3, 2022.1.0a1
Note: Issue is not reproducible when Render Queue is set to Transparent
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:
Set RenderQueue of the GrabPass material to 3000 (transparent queue) so that it won't mess up depth in the Opaque queue.