Search Issue Tracker
Duplicate
Votes
0
Found in
5.4.0b15
Issue ID
790207
Regression
Yes
Editor crashes when changing Anti-aliassing quickly
Reproduction steps:
1. Open the attached project with Unity 5.4
2. Run the only scene in the project
3. The scene contains one script, which basically changes AA in OnGUI method
4. If editor doesn't crash after starting the scene, try to change AA several times by pressing GUI buttons in the top left corner
5. Eventually it will crash with the following stack trace:
========== OUTPUTING STACK TRACE ==================
0x00007FFC2CC42D46 (d3d11) CreateDirect3D11SurfaceFromDXGISurface
0x000000014143ABBA (Unity) GetActiveRenderTargetCountD3D11
0x000000014143AEE1 (Unity) SetRenderTargetD3D11
0x00000001414313B0 (Unity) GfxDeviceD3D11Base::SetRenderTargets
0x0000000141459990 (Unity) GfxDeviceWorker::RunCommand
0x000000014145ED6F (Unity) GfxDeviceWorker::Run
0x0000000141456D9D (Unity) GfxDeviceWorker::RunGfxDeviceWorker
0x000000014058E9B8 (Unity) Thread::RunThreadWrapper
0x00007FFC307A8102 (KERNEL32) BaseThreadInitThunk
========== END OF STACKTRACE ===========
Reproduction gif: https://gyazo.com/00f9efe9edb29bee7abca9720c5eefdc
Reproducible with 5.4 only (tried Beta 9 and Beta 15).
Not reproducible with 5.1, 5.2 and 5.3
DirectX9: Crashes immediately after pressing Play button
DirectX11: Crashes after changing AA several times
DirectX12: Couldn't get a crash, because game view is black after pressing Play
Note, that there is no crash on standalone, instead there is a big performance drop.
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
- Uneven lighting is seen on the GameObjects when Sky Occlusion is enabled
- Editor freezes and a "Failed to present D3D11 swapchain" error appears when toggling loop time option and entering Play Mode
- Assets in the Project Window are incorrectly sorted when different Asset types have the same name
- [Android] The Player crashes at "isInMultiWindowMode" when using lifecycle methods
- [Linux] Editor can't find Audio Spatializer when using PS5AudioSpatializer plugin
This is a duplicate of issue #802046