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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Set RenderQueue of the GrabPass material to 3000 (transparent queue) so that it won't mess up depth in the Opaque queue.