Search Issue Tracker

Fixed in 2021.1.X

Votes

0

Found in

2021.1.0a2

Issue ID

1286593

Regression

Yes

Editor crashes on RtlWaitOnAddress on switching between different Graphics APIs

Graphics Device Backends

-

Editor crashes on RtlWaitOnAddress on switching between different Graphics APIs.

Steps to repro:
1. Create a new project.
2. Edit > Project Settings > Player.
3. Other Settings > Uncheck "Auto Graphics API for Window" checkbox.
4. Add Direct3D12 > Drag to the top of the list > Restart.
5. Drag Direct3D11 to the top of the list > Restart.
6. Repeat step 4 & 5.

Actual Result:
Editor crashes on RtlWaitOnAddress when graphics API changes

Expected Result:
No crash occurs on changing Graphics APIs.

Reproducible in:
2021.1.0a2

Working Fine in:
2021.1.0a1, 2020.2.0b9, 2020.1.10f1.

Environment:
Occurring only on Windows 10.

========== OUTPUTTING STACK TRACE ==================

0x00007FFC296F5E16 (ntdll) RtlWaitOnAddress
0x00007FFC296D15B4 (ntdll) RtlEnterCriticalSection
0x00007FFC296D13E2 (ntdll) RtlEnterCriticalSection
0x00007FF6A3B762EF (Unity) core::mutable_function<void __cdecl(void)>::DispatchT<<lambda_85f6437ef1176c9b5d956837405f3588> >::Dispatch
0x00007FF6A3B5E86E (Unity) asio::asio_handler_invoke<asio::detail::binder1<<lambda_49326903f0231fd4ce224a84b8f0cded>,std::error_code> >
0x00007FF6A3B6C84D (Unity) asio::detail::wait_handler<<lambda_49326903f0231fd4ce224a84b8f0cded> >::do_complete
0x00007FF6A3B6DEF0 (Unity) asio::detail::win_iocp_io_service::do_one
0x00007FF6A3B715DE (Unity) asio::io_service::run
0x00007FF6A3B6AC9B (Unity) IOService::Impl::ThreadFunction
0x00007FF6A2FA03C5 (Unity) Thread::RunThreadWrapper
0x00007FFC28577034 (KERNEL32) BaseThreadInitThunk
0x00007FFC296FCEC1 (ntdll) RtlUserThreadStart

========== END OF STACKTRACE ===========

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.