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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
Unity's version control component has been upgraded to Plastic SCM.

[Solved] Lots of files are corrupted and can't recover

Discussion in 'Unity Collaborate' started by israelazo, Dec 5, 2017.

  1. israelazo

    israelazo

    Joined:
    Mar 16, 2013
    Posts:
    7
    Hi

    Today we synced the project between team members and now all of us has corrupted .cs files. Many of them are just empty, when we go back to previous version they are still all empty! How can this be possible?

    Please help us this is really urgent.
     
  2. JakeTBear

    JakeTBear

    Joined:
    Feb 15, 2014
    Posts:
    123
    It seems like the project is downloading but nothing comes through. So it downloads everything blank. Please some sort of help this is very urgent.
     
  3. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @israelazo and @JakeTBear! We recently rolled back a server-side change after discovering an issue. We're terribly sorry for the inconvenience. Could you try again to download your changes and see if they're still corrupted?
     
  4. JakeTBear

    JakeTBear

    Joined:
    Feb 15, 2014
    Posts:
    123
    Thanks, we were able to rollback and now we finishing sorting things out. That was very scary guys, we literally had 47 .cs files wiped with tons of code and no possible way to retrieve, we will be keeping a safe copy from now on.
     
  5. bradunity

    bradunity

    Unity Technologies

    Joined:
    Nov 12, 2013
    Posts:
    195
    Hey @JakeTBear, we 100% agree and are making damn sure that kind of stuff doesn't happen again. We are all very sorry for causing this issue. Behind the scenes, your files were fine, safely stored in our central repository. What happened was that after rolling out an upgrade to one of our regional caches, it was sometimes saving files with empty contents (we haven't uncovered why just yet, but we will). Once we rolled the deployment back and removed the offending cached files, everything was fine, eventually repopulating with the full versions from our primary region.
     
  6. israelazo

    israelazo

    Joined:
    Mar 16, 2013
    Posts:
    7
    Thanks guys for the clarification, no need to commit suicide yet :)
     
  7. Kassem_m31

    Kassem_m31

    Joined:
    Apr 17, 2020
    Posts:
    25
    I cant update to unity 2019.3
    please help
     
  8. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @Kassem_m31, which version of Unity are you upgrading to 2019.3 from? Are you trying to download a project from the Cloud into a newer Unity version? What errors are you seeing in the Console or Editor.log, if any?
     
  9. Lextao

    Lextao

    Joined:
    Nov 4, 2018
    Posts:
    3
    Hello, I am getting random empty blank files instead of my assets, or some files are getting corrupted when I collaborate, I don't know what is going on, this has been going since yesterday also, I lost an animator player controller for my main character just a while ago when I updated my version with the latest from my team.

    Any help?
     
  10. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    I'm sorry to hear that! Have you tried using the Collab History window to go back to your previous commit where the animator player controller for your character was last seen to verify that it's still there? If it is, try making a different edit, that can easily be undone later, and publishing that change to ensure that the latest changes are synced with Collab.
     
  11. Kassem_m31

    Kassem_m31

    Joined:
    Apr 17, 2020
    Posts:
    25
    now it works! thx for asking
     
    Ryan-Unity likes this.