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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
This is a duplicate of issue #802046