Search Issue Tracker
By Design
Votes
5
Found in
5.4.2f2
Issue ID
847967
Regression
No
Stencil buffer breaks in OnRenderImage when MSAA enabled
Steps to reproduce:
1. Download and open the attached project
2. Press play
3. Observe spinning cube with stencil shaders
4. Press Space to change AntiAliasing value to 8 ( or toggle it manually on script attached to the main camera )
Expected result: cube with stencil shaders continues to get rendered with AA
Actual result: cube render freezes in the last frame before AA is turned on
Reproduced on 5.2.3f1. 5.3.6p8, 5.4.2f2, 5.4.2p3, 5.5.0b11, 5.6.0a2(e9ba82db0b63)
Reproduced with Direct3D 9, 11 and 12, OpenGLECore, ES2 and ES3
Notes:
-Setting the AA to higher than 8 (in DrawStencil.cs) stops rendering the cube entirely.
-Disabling AA again returns the rendering of the cube to normal
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment