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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Add comment