Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug Editor Crash on failure to upload artifact

Discussion in 'Unity Accelerator' started by TimHeijden2, May 16, 2022.

  1. TimHeijden2

    TimHeijden2

    Joined:
    Aug 11, 2016
    Posts:
    77
    We're using unity accelerator on a machine that sometimes restarts. It seems that users that are using the cache server whilst it is not possible to connect are crashing.

    Unfortunately I haven't been able to reproduce this in a smaller project, which means I can't really open an official bug report. I still wanted to drop the info here though, so here are some snippets of logs that are likely relevant:

    Starting new worker id: 0 with log in C:/Projects/<projectname>/Unity/<projectname>/Logs/AssetImportWorker0.log
    AcceleratorClientConnectionCallback - disconnected - UnityCacheServer:80
    Worker ready: AssetImportWorker0 0
    Request Asset Garbage Collect because used heap size increased from 0.71 GB to 1.03 GB, exceeding the threshold of 256.0 MB.
    Unloading 883 Unused Serialized files (Serialized files now loaded: 0)
    Unloading 154 unused Assets / (7.2 MB). Loaded Objects now: 107466.
    Memory consumption went from 1.06 GB to 1.05 GB.
    Total: 63.189500 ms (FindLiveObjects: 9.877700 ms CreateObjectMapping: 8.099300 ms MarkObjects: 43.621600 ms DeleteObjects: 1.589600 ms)

    [Worker0] Start importing Assets/Art/Environment/Collections/Blocks/CityCenter/<prefabname>.prefab using Guid(27c49695a1bd9f2478a52d234dae6c2a) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
    [Worker0] -> (artifact id: '8decbb39eec7a42ba2faac1123374d7c') in 2.368010 seconds
    AcceleratorClientConnectionCallback - disconnected - UnityCacheServer:80
    Failed to upload artifact(artifact id=8decbb39eec7a42ba2faac1123374d7c, static dependencies=ad8fcf659010171f760fb0105d6e3870, content hash=ba64cf468e602f7eea592e4a0fe632d2) to cacheserver
    AcceleratorClientConnectionCallback - disconnected - UnityCacheServer:80
    Failed to upload artifact(artifact id=8decbb39eec7a42ba2faac1123374d7c, static dependencies=ad8fcf659010171f760fb0105d6e3870, content hash=ba7afd09c4947e1bc87aa8bd0ac49124) to cacheserver
    AcceleratorClientConnectionCallback - disconnected - UnityCacheServer:80
    Assertion failed on expression: 'it != m_SendMap.end()'
    Crash!!!

    [...]


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

    0x00007FF70FA999B5 (Unity) TcpProtobufClient::EndBatch
    0x00007FF70F98C25C (Unity) <lambda_b9f327b7484a68b78f5dbcb2ee3a79b1>::eek:perator()
    0x00007FF70FA87352 (Unity) asio::detail::completion_handler<core::mutable_function<void __cdecl(void)> >::do_complete
    0x00007FF70FA895DD (Unity) asio::detail::win_iocp_io_service::do_one
    0x00007FF70FA8C9FE (Unity) asio::io_service::run
    0x00007FF70FA857F1 (Unity) IOService::Run
    0x00007FF70FA8632B (Unity) IOService::Impl::ThreadFunction
    0x00007FF70E4C6E57 (Unity) Thread::RunThreadWrapper
    0x00007FFE996A7034 (KERNEL32) BaseThreadInitThunk
    0x00007FFE99CE2651 (ntdll) RtlUserThreadStart

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

    Unfortunately I wasn't able to get the AssetImportWorker log. (the issues are not occuring on my own machine because I have the cache server disabled for other reasons) I'll try to make sure to get it the next time this happens.
     
  2. Kichang-Kim

    Kichang-Kim

    Joined:
    Oct 19, 2010
    Posts:
    883
unityunity