Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

"File is missing" error

Discussion in 'Unity Collaborate' started by grogshotgames, Feb 13, 2017.

  1. grogshotgames

    grogshotgames

    Joined:
    Aug 6, 2015
    Posts:
    76
    After clicking on Update now! I get this error:



    I have looked into the editor.log and this is what it says:

    Code (CSharp):
    1. [Collab 2017-0213 16:02:42 GMT] Error 'File is missing' (37) returned in 'C:\buildslave\unity\build\Editor/Src/Collab/Jobs/CollabUpdateAsyncJob.cpp' at line 618
    2. UPID Received '4813d248-fe0a-43f4-b46d-e4adf85108bf'.
    Any tips on how to solve this?
     
  2. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,280
    Hi @grogshotgames,

    You can get into this state if you deleted a file that another user edited. We have a fix incoming in an upcoming beta version of 5.6.

    In the meantime, any of these workarounds should help you get out of this state. If you know which files you deleted then try putting them back and Updating again to see if that removes the error. If that doesn't work (or you don't have access to those deleted files) and you have local changes that you want to upload then you'll need to delete your snapshot file. You can do that by doing the following:

    Exit Unity.
    Delete the snapshot:
    [Project Folder]/Library/Collab/CollabSnapshot_xxxxxxxxxxx.txt
    Open Unity/your project
    You will then push/Publish your changes to the server. NOTE: whatever is on your machine will be pushed to the server if you do this so just make sure that's what you want.

    Your other option, if you want what is on the Server to be on you local disk, is to delete the project from your local disk and re-download it from In The Cloud.

    Let me know if any of these options unblock you.
     
  3. grogshotgames

    grogshotgames

    Joined:
    Aug 6, 2015
    Posts:
    76
    Is there a release date for that upcoming version?

    If I delete the snapshot, my coworkers will lose their work. If I delete my project and download it from the server, I will obviously, lose all my work. So none of those are viable options...
     
  4. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,280
    We should have that fix in hopefully by 5.6b10.

    There is a roundabout way of getting everyone's changes using the method where you delete your snapshot file. If you were to remove your snapshot and then publish, your current state would become the new head of the project. That means that their changes wouldn't be reflected in the latest version of the project, seemingly overwriting them.

    Now that does suck, a lot. But there is still a way to get those missing changes. Since your teammates have already made commits with their new changes, you'll essentially have a list of every file that was modified between your last update and now. You can use the Collab History window to Go Back To each of those "skipped" revisions, copy out those changed files, then Restore to the latest revision and paste those files back in (resolving the conflicts that come up). You can also Go to the Dashboard from the Collaborate panel in the Services Window, switch to the Assets tab, and do the same thing by navigating to each changed file and downloading the version from your teammate in the File History. That should let you re-add their changes and ensure that no one's work is lost (assuming that there aren't a whole lot of merge conflicts to resolve).
     
  5. NateReese77

    NateReese77

    Joined:
    Jun 14, 2017
    Posts:
    12
    This still happens on our projects - using 2018.2.1
     
  6. AruRen

    AruRen

    Joined:
    May 21, 2016
    Posts:
    20
    Soooo.. I lost tons of files and scripts thanks to collab. How can things like this happen?

    It should be 1000000000% safe to use collab.

    Even files that were months old simply disappeared. I tried to roll back to see the name, or grab the scripts/files from older version, they are not even there anymore, still missing.

    HOW!? I have to deliver a project tomorrow and final delivery next monday. OMG
     
  7. AruRen

    AruRen

    Joined:
    May 21, 2016
    Posts:
    20
    Waw.. unity broke my legs in the worse moment possible.
     
  8. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,280
    Hi @AruRen! I'm sorry to hear that you're running into an issue with Collab. If you can open a ticket with our Support Team then they'll be happy to help you get unblocked.
     
    ollieblanks likes this.
  9. donutsorelse

    donutsorelse

    Joined:
    Apr 6, 2014
    Posts:
    2
    Hello, the "file is missing" error is happening in version 2019.2.11... Is there a work around at this point?
     
  10. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,280
    Hi @donutsorelse (love the name, btw), have you tried restarting Unity? This error is pretty rare and typically resolves itself after a restart. It's possible to run into this when updating a file outside of Unity while in the middle of a publish or revert.