Search Unity

Unity's version control component has been upgraded to Plastic SCM.

Collab File is Missing Error

Discussion in 'Unity Collaborate' started by brycebos11, Apr 25, 2020.

  1. brycebos11

    brycebos11

    Joined:
    Dec 12, 2016
    Posts:
    1
    Editor: 2019.2.0f1 Personal
    Collaborate: 2.0.0 preview.17

    This issue has happened several times to me and my teammate who I collaborate with. After one successfully uploads changes, the other will try to download those changes. Sometime during the download, we will get a "File is Missing" error. There is no error in the console, just a red banner which appears across the top of the collab drop down with that message.

    It then shows like it is ready to try again, but it won't ever download successfully.

    Tried:
    Closing and reopening editor
    Making small changes and sending another upload from the user who sent the original upload
    Looked online and found this: https://forum.unity.com/threads/file-is-missing-error.456186/

    Seems like this was an issue before, and was supposedly fixed, but obviously not totally. We have now had to use the "delete whole project and download everything again" resolution, which is a poor solution. We have over 20GB of data in collab, and it causes painful disruptions when this happens.

    Expectations:
    1. Please fix this issue
    2. What causes this to happen? I would like to know EXACTLY what causes this, so we can avoid those actions in the future
    3. Are there any other solutions which we can use to fix this, without needing to re-download everything again?
     
  2. Ryan-Unity

    Ryan-Unity

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @brycebos11, I understand your frustration. In the Editor.log, which you can open from the Console, you should see the "File is missing" error, along with which exact file is causing the error. Typically, this can happen when a file has been modified outside of Unity (or outside of Collab's ability to detect the change) during a publish or update. This error can often be resolved by checking in the Editor.log which file is missing and putting it back where Collab expects it.
     
  3. DogNabi

    DogNabi

    Joined:
    Jan 17, 2014
    Posts:
    2
    I encountered this error too.
    Here is my Editor.log

    [Collab 2020-0925 05:50:27 GMT][Error] 'File is missing' (37) returned in './Editor/Src/Collab/Jobs/CollabUpdateAsyncJob.cpp' at line 785
    RefreshInfo: StopAssetImportingV2(ForceSynchronousImport)
    RefreshProfiler: Total: 12.251ms
    InvokeBeforeRefreshCallbacks: 0.233ms
    ApplyChangesToAssetFolders: 0.109ms
    WriteModifiedImportersToTextMetaFiles: 0.000ms
    CleanLegacyArtifacts: 0.000ms
    Scan: 1.211ms
    OnSourceAssetsModified: 0.000ms
    UnregisterDeletedAssets: 0.000ms
    InitializeImportedAssetsSnapshot: 5.615ms
    GetAllGuidsForCategorization: 0.000ms
    CategorizeAssets: 0.000ms
    ImportAndPostprocessOutOfDateAssets: 0.000ms (0.000ms without children)
    ImportManagerImport: 0.000ms (0.000ms without children)
    ImportInProcess: 0.000ms
    ImportOutOfProcess: 0.000ms
    UpdateCategorizedAssets: 0.000ms
    RemoteAssetCacheGetArtifact: 0.000ms (0.000ms without children)
    RemoteAssetCacheResolve: 0.000ms
    RemoteAssetCacheDownloadFile: 0.000ms
    CompileScripts: 0.000ms
    PostProcessAllAssets: 0.000ms
    ReloadImportedAssets: 0.000ms
    VerifyAssetsAreUpToDateAndCorrect: 0.000ms
    EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.000ms
    InitializingProgressBar: 0.000ms
    PostProcessAllAssetNotificationsAddChangedAssets: 0.000ms
    OnDemandSchedulerStart: 0.000ms
    RestoreLoadedAssetsState: 0.000ms
    InvokeProjectHasChanged: 0.000ms
    UpdateImportedAssetsSnapshot: 0.000ms
    ReloadSourceAssets: 0.000ms
    UnloadImportedAssets: 0.000ms
    Hotreload: 0.005ms
    FixTempGuids: 0.003ms
    VerifyGuidPMRegistrations: 0.000ms
    GatherAllCurrentPrimaryArtifactRevisions: 0.844ms
    UnloadStreamsBegin: 0.114ms
    LoadedImportedAssetsSnapshotReleaseGCHandles: 0.732ms
    GetLoadedSourceAssetsSnapshot: 0.828ms
    PersistCurrentRevisions: 0.000ms
    UnloadStreamsEnd: 0.012ms
    GenerateScriptTypeHashes: 0.000ms
     
    Last edited by a moderator: Sep 25, 2020