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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment