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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
This is a duplicate of issue #802046