Search Issue Tracker
Fixed
Fixed in 2022.3.30f1, 6000.0.1f1
Votes
0
Found in
2022.3.23f1
2023.2.17f1
6000.0.0b14
Issue ID
UUM-69202
Regression
No
Inconsistent ColorMask Behavior in MRT (Deferred) rendering with Vulkan Graphics API
Reproduction steps:
1. Install RenderDoc on your machine
2. Open the attached project "ReproProject"
3. Ensure that DirectX Graphics API is active (Edit > Project Settings > Player > Graphics APIs for Windows)
4. Load RenderDoc (right-click on Game window title > Load RenderDoc), Capture the frame
5. In the RenderDoc Window, observe Pipeline State (select OM from the pipeline)
6. Look for UniversalRenderPipeline.RenderSingleCameraInternal: Camera > ScriptableRenderer.Execute MyUniversalRendererData > Render GBuffer > RenderLoop.Draw > DrawIndexed(36)
7. Under the Target Blends section of the Pipeline State, observe that the write masks are all G values
8. Switch the project to use Vulkan Graphics API (Edit > Project Settings > Player > Graphics APIs for Windows, make Vulkan appear above Direct3D11) and accept the request to restart the Editor
9. Repeat step 4
10. In the RenderDoc Window, Look for UniversalRenderPipeline.RenderSingleCameraInternal: Camera > ScriptableRenderer.Execute MyUniversalRendererData > Render GBuffer > RenderLoop.Draw > vkCmdExecuteCommands
11. Under the Target Blends section of the Pipeline State, observe that the write masks are all RGBA values except for index/slot 0
Expected result: The values for the write masks should be the same for both graphics (DirectX and Vulkan)
Actual result: The values for the write masks are not the same
Reproducible with: 2021.3.37f1, 2022.3.23f1, 2023.2.17f1, 6000.0.0b14
Reproduced on: Windows 11 23H2 (22631.3007), Windows 11 (10.0.22631) 64bit (user’s)
Not reproduced on: No other environment tested
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
- Active quality level set on a new Universal 2D project is not the default quality level when creating a new project
- Inspector Open button does nothing when navigating to a different folder with a locked asset
- Pre-generated XML serializers fail to deserialize types that use polymorphism when the Player is built with the IL2CPP scripting backend
- Editor crashes with error "Failed to present D3D11 swapchain due to device reset/removed" and Player freezes when rendering a particle system while using modified URP package on DX11
- Crash on Scripting::LogException when async HTTP callback executes after scripting domain teardown
Resolution Note (fix version 6000.0.1f1):
Fixed Vulkan color mask behavior when separate MRT blend is disabled.
Resolution Note (fix version 2022.3.30f1):
Fixed Vulkan color mask behavior when separate MRT blend is disabled.