Unity Issue Tracker - Grey image displayed when MSAA is enabled
Fixed
UUM-4100
Grey image displayed when MSAA is enabled
Unity: FrameDebugger
FrameDebugger
URP
Fixed
2023.1.X
2022.2.X
Won't Fix
2021.3.X
The issue was with the shader used with the Frame Debugger. It has now been updated to support events using MSAA.
The issue was with the shader used with the Frame Debugger. It has now been updated to support events using MSAA.
When using FrameDebugger with URP and MSAA the camera buffer displays a grey image and the following warning is displayed on console:
Metal: Shader[Hidden/FrameDebuggerRenderTargetDisplay]: Incompatible texture type [MTLTextureType2DMultisample] of texture [_CameraDepthAttachment_825x461_Depth_MSAA4x MSAA] bound at index 0, expected [MTLTextureType2D]
How to reproduce:
-Create a new URP project from 3D blank template
-enable FrameDebugger
-Click on Camera.RenderSkybox event.
Notice how FrameDebuffer displays grey image
Expected: FrameDebugger should display correct color image with skybox contents
Disabling MSAA fixes the issue.
Prioritise and Follow this issue
Have a workaround or additional info about this issue?