Search Unity

[Collab] CreateRevisionValidator::MissingFileError: The following hashes were not found as uploaded

Discussion in 'Unity Collaborate' started by hippocoder, Apr 9, 2019.

  1. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    25,485
    [Collab] CreateRevisionValidator::MissingFileError: The following hashes were not found as uploaded files: ["125a7e6a236ece990e3e3787f223ceb9"]. Please email collabsupport@unity3d.com

    Getting tiring. Even made everything new, nothing seems to work. Using 2.0 preview 6 (but I switched to preview because I was getting random issues).

    Help me fix it please :)
     
  2. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    25,485
    After a battery of different problems it seems to have cleared up. Is collab really this sensitive to whatever state Unity's servers are at? it seems quite... disruptive to say the least, still.

    It would be helpful there was a status page for Unity services, so we can check at least to see if hair needs to fall out some more or not :)
     
  3. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,169
    Hi @hippocoder! This issue is one of those rare race conditions where the content of a file doesn't match its generated MD5 and Collab panics over it. This can often happen when making changes to an already edited asset before publishing and Collab doesn't have the chance to generate a new MD5 yet. The issue resolves itself after attempting to publish again. We do have plans to fix this issue after we've tackled the bigger issues for v2.0.
     
  4. hippocoder

    hippocoder

    Digital Ape Moderator

    Joined:
    Apr 11, 2010
    Posts:
    25,485
    I wasn't able to solve it no matter how hard I tried. I didn't change any contents of any files at any time my end. I'm very aware of my actions in Unity and know not to modify outside Unity. What I suspect caused this was a crash (which happens often of course) and a prefab decided to rebuild itself...

    Unity's new prefab stuff will often create a dummy file or placeholder prefab when things crash. I mean, I don't want it to crash, and I'm not even running anything (just tabbing back to Unity) but you know, Unity's a cruel mistress.

    But it's not always a user change causing it, and I know you didn't accuse - I'm just clarifying - it's not always a user change causing it.

    So Unity changed the file then I suffered for it. I couldn't prevent it, and I didn't cause it. But I had to dump the entire repo and make a brand new one to fix it, and touch wood it's working for the time being.

    Thanks for helping and thank you for hard work! I even tried the new 2.0 but maybe I should wait on that a little longer :D
     
    ryanc-unity likes this.
  5. docalypse

    docalypse

    Joined:
    May 29, 2018
    Posts:
    3
    Getting the same error when I attempt to publish:

    [Collab] CreateRevisionValidator::MissingFileError: The following hashes were not found as uploaded files: ["14c3749b4c6a09dc049de171e9b55ca1", "5dcec5075f6ec68eb68ceaf5de12c3a3", "85b82dfc572dfdb3cd96b90c2da41697", "d06c2b4bd068c48e5aa6c2150c52735a", "e0d5d2395e0674fbdb59346333676d89", "f7a646ca69c859304936dfad4a112d29"]. Please email collabsupport@unity3d.com

    Just updated to collab 2.0.0p8, using Unity 2018.3.12f1.

    Looking for information on this brought me to this thread.

    "The issue resolves itself after attempting to publish again" is false. No changes have been made by me outside of Unity.
     
  6. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,169
    Hi @docalypse! Did you try restarting Unity and waiting a few minutes after reopening your project to try publishing again? If you're still seeing this error than could you try downgrading back to v1.2.16 of the Collab package, restarting your project and trying again to publish to see if you're still seeing this issue?

    If the issue goes away when you downgrade back to v1.2.16, then could you submit a bug with your project so that we can try to reproduce the issue on our end with v2.0?
     
  7. Nintoryann

    Nintoryann

    Joined:
    Mar 16, 2019
    Posts:
    1
    I got the same error, but our team working on v1.2.16, what can I try to solve that trouble?
     
  8. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,169
    Hi @Nintoryann, if you're still getting errors like this while using v1.2.16 then could you please email collabsupport@unity3d.com with the full error message? They'll be able to help get you unblocked.
     
  9. Rafarel

    Rafarel

    Joined:
    Jul 21, 2017
    Posts:
    142
    Hi @ryanc-unity I have the same kind of error but with two separate errors on preview-17 2.0.0

    The first error is :

    Code (text):
    1. CollabProxyException: The given key was not present in the dictionary.
    2. UnityEngine.Debug:LogError(Object)
    3. CollabProxy.Client.CollabVersionControl:LogExceptionDetails(Exception) (at Library/PackageCache/com.unity.collab-proxy@2.0.0-preview.17/Editor/Client/CollabVersionControl.cs:445)
    4. CollabProxy.Client.CollabVersionControl:OnUpdateCachedChangesException(Exception) (at Library/PackageCache/com.unity.collab-proxy@2.0.0-preview.17/Editor/Client/CollabVersionControl.cs:260)
    5. CollabProxy.Client.<>c__DisplayClass18_0`1:<RegisterListener>b__0(PacketHeader, Connection, String) (at Library/PackageCache/com.unity.collab-proxy@2.0.0-preview.17/Editor/Client/CollabProxyClient.cs:286)
    6. NetworkCommsDotNet.Tools.PacketTypeHandlerDelegateWrapper`1:Process(PacketHeader, Connection, Object)
    7. NetworkCommsDotNet.Connections.Connection:TriggerSpecificPacketHandlers(PacketHeader, Object)
    8. NetworkCommsDotNet.NetworkComms:TriggerAllPacketHandlers(PacketHeader, Connection, MemoryStream, SendReceiveOptions, Boolean)
    9. NetworkCommsDotNet.NetworkComms:TriggerAllPacketHandlers(PacketHeader, Connection, MemoryStream, SendReceiveOptions)
    10. NetworkCommsDotNet.NetworkComms:CompleteIncomingItemTask(Object)
    11. NetworkCommsDotNet.Tools.CommsThreadPool:ThreadWorker(Object)
    12. System.Threading.ThreadHelper:ThreadStart(Object)
    13.  
    And the second one is :

    Code (text):
    1. [Collab] CreateRevisionValidator::MissingFileError: The following hashes were not found as uploaded files: ["04ef376730c1bbc2f854c9de333f064c", "6bcdfedeabbeb7ad6614e48856d1cfa9"]. Please email collabsupport@unity3d.com
    2.  
     
  10. ryanc-unity

    ryanc-unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,169
    Hi @Rafarel, you should be able to safely ignore the first error if you're not noticing any blocking behavior. Do you see that error pop up often?

    That second error is a pesky one where for some reason the content of the file didn't match the md5 hash of it that was generated at the start of the upload. This error is ultimately benign and should let you continue if you try to publish again. If your'e still encountering this issue even after trying to publish again then please let us know.
     
  11. jeroen_unity

    jeroen_unity

    Joined:
    Oct 23, 2017
    Posts:
    3
    We managed to fix the same issue by reimporting all the new assets (right click > reimport). Thus creating new hashes
     
    VTM_Digital_Limited likes this.
  12. peku

    peku

    Joined:
    Mar 11, 2013
    Posts:
    1
    I'm getting this too [Collab] CreateRevisionValidator::MissingFileError: The following hashes were not found as uploaded files:. after I deleted a bunch of files I didn't need anymore. Only way around seems to be to create a whole new project with a different name and copy all the assets.