Search Issue Tracker
By Design
By Design in 6000.0.X
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
- Too little validation messages in the "WebAssembly Language Features" Memory settings
- Project Settings Search Highlights are misaligned when using the Bitmap Text Rendering Mode
- "GetControlID at event ValidateCommand returns a controlID different from the one in Layout event" Warning is thrown when undoing the deletion of Sprite Shape Profile
- Memory related fields in the "WebAssembly Language Features" can be set to the negative numbers
- "WebAssembly Language Features" Header in the Player Settings has a smaller indentation
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;
Resolution Note (6000.0.X):
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;