Search Issue Tracker
By Design
Votes
0
Found in
2021.3.38f1
2022.3.27f1
6000.0.0f1
Issue ID
UUM-71816
Regression
No
“Color and Depth buffer MSAA flags doesn't match, no rendering will occur" error is thrown when MSAA and Custom Pass are enabled in the HDRP Asset
How to reproduce:
1. Open the “TextXRUnity6Beta“ project
2. Open the “OutdoorScene“
3. Move the mouse around the screen
4. Observe the Console window
Expected result: No errors in the Console window
Actual result: “Color and Depth buffer MSAA flags doesn't match, no rendering will occur. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)” error shown in the Console
Reproducible with: 2021.3.38f1, 2022.3.27f1, 6000.0.0f1
Reproducible on: macOS 13.5.2 (Intel), Windows 10 (User)
Not reproducible on: No other environments tested
Note: Was not able to reproduce on a fresh project
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
- Assigned font's bold/font-weight styles render using Default Font's assets when Default Font has corresponding style assets defined in TMP Settings
- "Modifying the parent of a VisualElement while it’s already being modified is not allowed" error is thrown when entering text and pressing tab in the Search window
- Mesh colliders are not updating their positions of bounds correctly
- Images are missing from the "Open the sprite editor" documentation for 6.0, 6.1 and 6.2
- The previous element in the array is modified when assigning an Asset to a new element of AssetReferenceT
Resolution Note:
Hello,
This rendering error is a graphic API limitation. It's not possible to use a color buffer with MSAA enabled along with a depth buffer when rendering something.
The Hair simulation package that you installed uses a hidden custom pass to draw the debug, and it's not compatible with MSAA (this is because its injection point is set to After Post Process, which is after the last MSAA resolve pass).
To fix the issue, you can disable the debug custom pass, and to make it visible you can uncomment line 35 of HairSimDebugDraw.cs:
// s_container.hideFlags = HideFlags.HideAndDontSave;