Search Issue Tracker

Fixed

Fixed in 2021.3.10f1, 2022.1.16f1, 2022.2.0b8, 2023.1.0a10

Votes

0

Found in

2021.3.9f1

2022.1.13f1

2022.2.0b4

2023.1.0a5

Issue ID

UUM-12159

Regression

No

[CacheServer] After you cancel one upload, all next uploads will stuck, sometimes that leads to a crash

--

-

*Steps to reproduce:*
1 Create new HDRP project (or use any relatively big project you have)
2 Open project and enable Cache Server in Project Settings (connect to working instance of Accelerator, e.g. local one on your machine)
3 In Project Browser do RMB->Reimport All and select Reimport
4 Wait while Editor reloads and becomes responsive, then go to the right lower corner and unfold "Background Tasks" window - there should be "Upload artifacts" progress bar, press "x" to cancel it
5 Then go to Project Browser, select any big folder (e.g. Materials, Textures, Models) and do RMB->Reimport
6 This will create new progress bar in "Background Tasks" window

*Expected results:* added progress bar is Not stuck and Not marked as "Not Responding"

*Actual results:* Wait 10-15 sec and see that added progress bar is stuck and marked as "Not Responding", if you press "x" on it - there will be Scheduler errors thrown.

!image-2022-08-16-21-43-57-913.png|width=497,height=174!

Sometimes after all these steps when you close the Editor it crashed with:
{quote}{{{}========== OUTPUTTING STACK TRACE =================={}}}{{{}0x00007FF6245585BC (Unity) [C:\buildslave\unity\build\Runtime\Misc\AllocatorLabels.cpp:60] SetCurrentMemoryOwner {}}}
{{0x00007FF626F4EC00 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\V2\OnDemandScheduler.cpp:1728] OnDemandScheduler::ThreadLog }}
{{0x00007FF626F26A90 (Unity) [C:\buildslave\unity\build\Runtime\Core\function.h:120] core::function<void __cdecl(bool)>::DispatchT<<lambda_74d3a4613071cb6bde5478b0475551cb> >::Dispatch }}
{{0x00007FF626F82C29 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\V2\RemoteAssetCache.cpp:810] <lambda_761c9b7fa5e95b6731e309d727039459>::operator() }}
{{0x00007FF626FBF261 (Unity) [C:\buildslave\unity\build\artifacts\Stevedore\vs2019-toolchain_66be\include\memory:702] std::_Ref_count_resource<`RemoteAssetCache::AddArtifactToCacheServerAsync'::`2'::Context *,<lambda_761c9b7fa5e95b6731e309d727039459> >::_Destroy }}
{{0x00007FF626F83EDC (Unity) core::function<void __cdecl(core::hash_map<Hash128,core::basic_string<char,core::StringStorageDefault<char> >,core::hash<Hash128>,std::equal_to<Hash128> > const &)>::DispatchT<<lambda_33987279c25fa878f6143f7095ba6cea> >::`scalar deleting destructor'}}
{{0x00007FF626FBF36F (Unity) [C:\buildslave\unity\build\artifacts\Stevedore\vs2019-toolchain_66be\include\memory:702] std::_Ref_count_resource<`RemoteAssetCache::UploadMetadataAsync'::`2'::Context *,<lambda_3dcd1d368b20a2a982011abed8b70e9b> >::_Destroy }}
{{0x00007FF626F83EDC (Unity) core::function<void __cdecl(core::hash_map<Hash128,core::basic_string<char,core::StringStorageDefault<char> >,core::hash<Hash128>,std::equal_to<Hash128> > const &)>::DispatchT<<lambda_33987279c25fa878f6143f7095ba6cea> >::`scalar deleting destructor'}}
{{0x00007FF626E8E670 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\Public\AcceleratorClient.cpp:685] AcceleratorClient::ScheduledRequestFinished }}
{{0x00007FF626E70259 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\Public\AcceleratorClient.cpp:725] AcceleratorClient::CancelAllRequests }}
{{0x00007FF626F81BE9 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\V2\RemoteAssetCache.cpp:206] RemoteAssetCache::~RemoteAssetCache }}
{{0x00007FF626F1DF34 (Unity) RemoteAssetCache::`scalar deleting destructor'}}
{{0x00007FF626F897B3 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\V2\AssetDatabaseInternal.cpp:2511] CleanUpAssetDatabaseV2 }}
{{0x00007FF626E9C539 (Unity) [C:\buildslave\unity\build\Modules\AssetDatabase\Editor\Public\AssetDatabase.cpp:1011] AssetDatabase::CleanupAssetDatabase }}
{{0x00007FF6260E8624 (Unity) [C:\buildslave\unity\build\Editor\Src\Application\Application.cpp:1953] Application::CoreShutdown }}
{{0x00007FF62610BA7B (Unity) [C:\buildslave\unity\build\Editor\Src\Application\Application.cpp:3588] Application::Terminate }}
{{0x00007FF626AAE33C (Unity) [C:\buildslave\unity\build\Editor\Platform\Windows\ContainerWindow.cpp:594] ContainerWindow::ContainerWndProc }}
{{0x00007FF967DAE858 (USER32) CallWindowProcW}}
{{0x00007FF967DAE3DC (USER32) DispatchMessageW}}
{{0x00007FF967DC0BC3 (USER32) SendMessageTimeoutW}}
{{0x00007FF968790D74 (ntdll) KiUserCallbackDispatcher}}
{{0x00007FF965E11124 (win32u) NtUserMessageCall}}
{{0x00007FF967DACAF5 (USER32) GetWindowTextW}}
{{0x00007FF967DAC2AF (USER32) IsIconic}}
{{0x00007FF9636A96F2 (uxtheme) GetUserColorPreference}}
{{0x00007FF9636C3452 (uxtheme) Ordinal96}}
{{0x00007FF9636AB7D9 (uxtheme) IsCompositionActive}}
{{0x00007FF9636AB241 (uxtheme) IsCompositionActive}}
{{0x00007FF967DAC7E3 (USER32) GetWindowTextW}}
{{0x00007FF626AAEBE1 (Unity) [C:\buildslave\unity\build\Editor\Platform\Windows\ContainerWindow.cpp:694] ContainerWindow::ContainerWndProc }}
{{0x00007FF967DAE858 (USER32) CallWindowProcW}}
{{0x00007FF967DAE3DC (USER32) DispatchMessageW}}
{{0x00007FF967DC0BC3 (USER32) SendMessageTimeoutW}}
{{0x00007FF968790D74 (ntdll) KiUserCallbackDispatcher}}
{{0x00007FF965E11124 (win32u) NtUserMessageCall}}
{{0x00007FF967DACAF5 (USER32) GetWindowTextW}}
{{0x00007FF967DAC2AF (USER32) IsIconic}}
{{0x00007FF9636A96F2 (uxtheme) GetUserColorPreference}}
{{0x00007FF9636C33A7 (uxtheme) Ordinal96}}
{{0x00007FF9636AB7D9 (uxtheme) IsCompositionActive}}
{{0x00007FF9636AB241 (uxtheme) IsCompositionActive}}
{{0x00007FF967DAC7E3 (USER32) GetWindowTextW}}
{{0x00007FF626AAEBE1 (Unity) [C:\buildslave\unity\build\Editor\Platform\Windows\ContainerWindow.cpp:694] ContainerWindow::ContainerWndProc }}
{{0x00007FF967DAE858 (USER32) CallWindowProcW}}
{{0x00007FF967DAE299 (USER32) DispatchMessageW}}
{{0x00007FF626A88BA3 (Unity) [C:\buildslave\unity\build\Editor\Platform\Windows\WinEditorMain.cpp:476] MainMessageLoop }}
{{0x00007FF626A8DB00 (Unity) [C:\buildslave\unity\build\Editor\Platform\Windows\WinEditorMain.cpp:1239] WinMain }}
{{0x00007FF62875E68E (Unity) [d:\agent\_work\63\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288] __scrt_common_main_seh }}
{{0x00007FF966E87034 (KERNEL32) BaseThreadInitThunk}}
{{{}0x00007FF968742651 (ntdll) RtlUserThreadStart{}}}{{{}========== END OF STACKTRACE ==========={}}}
{quote}

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.