Search Issue Tracker
Fixed
Unknown (hidden) 2022.2.X
Votes
0
Found in
2022.2.0a13
Issue ID
UUM-4003
Regression
No
[Cache Server] Crash when using -batchmode -quit
This crash is happening only when using CacheServer and opening project through command line with these arguments. Currently there is no way to check if it is a regression because of another crash - https://fogbugz.unity3d.com/f/cases/1385401. Now as fix for 1385401 landed in trunk - it uncovered this additional crash which is happening every 2-3-rd try for me.
How can we reproduce it using the example you attached - reproduces every 2-3-rd try for me
1 Use the attached project or project from case https://fogbugz.unity3d.com/f/cases/1385401
2 Open the project, go to Edit->ProjectSettings and set correct address for your CacheServer
3 Delete Library folder and clear your CS (cachedb folder should contain only bbolt.db file)
4 Open the project through command line with "-batchmode -quit -projectPath<path_to_the_project>"
5 When it finishes and Editor quits (check in TaskManager) - check Editor.log
Actual results: there is a StackTrace there:
========== OUTPUTTING STACK TRACE ==================
0x00007FFACE133416 (ntdll) RtlWaitOnAddress
0x00007FFACE0FFCB4 (ntdll) RtlEnterCriticalSection
0x00007FFACE0FFAE2 (ntdll) RtlEnterCriticalSection
0x00007FF71F08DD04 (Unity) \[C:\\buildslave\\unity\\build\\Runtime\\Core\\function.h:120] core::function<void __cdecl(bool)>::DispatchT<<lambda_d0f823a722a7271954f7f43b6da1fdcb> >::Dispatch
0x00007FF71F086640 (Unity) \[C:\\buildslave\\unity\\build\\Modules\\AssetDatabase\\Editor\\Public\\AcceleratorClient.cpp:190] <lambda_36f064765fd0922168912ce9396991af>::operator()
0x00007FF71F28BD73 (Unity) \[C:\\buildslave\\unity\\build\\Modules\\AssetDatabase\\Editor\\V2\\ProtobufMessaging\\TcpProtobufClient.cpp:515] TcpProtobufClient::OnMessageReceived
0x00007FF71F28DEA2 (Unity) \[C:\\buildslave\\unity\\build\\Modules\\AssetDatabase\\Editor\\V2\\ProtobufMessaging\\TcpProtobufSession.cpp:353] TcpProtobufSession::OnReceiveCompleted
0x00007FF71F22D4D7 (Unity) \[C:\\buildslave\\unity\\build\\External\\asio\\include\\asio\\handler_invoke_hook.hpp:69] asio::asio_handler_invoke<asio::detail::binder2<<lambda_b479bbd787d7125761c4dda3519a6e4c>,std::error_code,unsigned __int64> >
0x00007FF71F23E48F (Unity) \[C:\\buildslave\\unity\\build\\External\\asio\\include\\asio\\detail\\win_iocp_socket_recv_op.hpp:96] asio::detail::win_iocp_socket_recv_op<asio::mutable_buffers_1,<lambda_b479bbd787d7125761c4dda3519a6e4c> >::do_complete
0x00007FF71F23F3AD (Unity) \[C:\\buildslave\\unity\\build\\External\\asio\\include\\asio\\detail\\impl\\win_iocp_io_service.ipp:405] asio::detail::win_iocp_io_service::do_one
0x00007FF71F2427CE (Unity) \[C:\\buildslave\\unity\\build\\External\\asio\\include\\asio\\impl\\io_service.ipp:58] asio::io_service::run
0x00007FF71F2389AF (Unity) \[C:\\buildslave\\unity\\build\\Modules\\AssetDatabase\\Editor\\V2\\IOService\\IOService.cpp:152] IOService::Run
0x00007FF71F23C0FB (Unity) \[C:\\buildslave\\unity\\build\\Modules\\AssetDatabase\\Editor\\V2\\IOService\\IOService.cpp:44] IOService::Impl::ThreadFunction
0x00007FF71CDE29A7 (Unity) \[C:\\buildslave\\unity\\build\\Runtime\\Threads\\Thread.cpp:84] Thread::RunThreadWrapper
0x00007FFACDC27034 (KERNEL32) BaseThreadInitThunk
0x00007FFACE122651 (ntdll) RtlUserThreadStart
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
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-3184