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
- Editor crashes when debugging a for loop
- Crash on UnityPlayer!profiling::ProfilerManager::DisposeProfilerRecorder+0xa when Player gets relaunched and exited after running for a long amount of time
- [Input system] When releasing one touch and pressing a second touch during a single frame, the second touch is not translated into UI event line OnPointerDown by the InputSystemUIInputModule
- URP Samples - multiple "Attempting to resolve render surface" and other errors appear when setting Quality pipeline asset
- OnDemandRendering.willCurrentFrameRender returns incorrect values in the Player when UnityEngine.Rendering.OnDemandRendering.renderFrameInterval is greater than 1
Resolution Note:
Set RenderQueue of the GrabPass material to 3000 (transparent queue) so that it won't mess up depth in the Opaque queue.