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
- TMP Text size does not adjust after Superscript Rich Text tag when using Fallback fonts
- Unexpected behaviour when selecting items in UI Toolkits TreeView sample
- C# Script Help button leads to missing documentation
- Root GameObject behaves differently when blending animations with and without keyframes and using AnimationPlayable
- Crash on D3D12GetInterface when reopening a specific project
Add comment