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

Project for 3 years destroyed by plastic scm "upgrade"

Discussion in 'Unity Version Control' started by ILoveSMB, May 2, 2022.

  1. ILoveSMB

    ILoveSMB

    Joined:
    Jun 24, 2019
    Posts:
    4
    I started the project in 2019 with unity version 2019.1.6f1. Unity collab worked perfectly for me. I didn't need any "upgrades" or "more robust system." However, recently, the unity collab system was deprecated and I was forced to switch to plastic scm to have my project saved in the cloud if I didn't want to zip my multiple GB project and upload it to google drive every time I modify a script.

    Since 2019.1.6f1 was not supported by plastic scm, I had to update my editor. I used 2020.3.30f1 as it's a long-term support and "stable" version. The first time I opened the project, it worked fine and I was able to upload the project to plastic scm. However, starting from the second time trying to open the project, without having modified any part of the project, the editor gets permanently stuck on this screen every single time I try (restart pc, delete library folder to reimport, nothing works):



    After no success in attempting to resolve this issue, I tried using the newest version of unity recommended in the unity hub (2021.2.17f1). Upon loading the project, the editor now tells me that some of the API used in my scripts have been deprecated (backwards compatibility just isn't a thing in unity???) and in order to open my project, I would have to let the editor modify these scripts to fit the new API. After the editor opens, it prompts me to log in. Every time I click "sign in with Unity ID," I'm treated to this glorious screen:



    And every time I try to manually type in my email/password, this is what comes up:



    And when I decided to give up on plastic scm and just zip my multiple GB project to google drive every time and tried to open the project on 2019.1.6f1 (worked perfectly fine with unity collab!), it tells me that the scripts have unrecognized content (since they were forcefully modified by 2021.2.17f1), the project can no longer compile.

    3 years, hundreds of hours of work, flushed down the toilet by this new, improved, and robust version control system.

    Now, since I was able to upload a functional version of the project to plastic scm when I first opened 2020.3.30f1, I'm asking to see if there is a way to pull that upload from the cloud. 2020.3.30f1 will now get permanently suck on the screen I showed earlier and won't get to the plastic scm screen at all, and 2021.2.17f1 won't sign me in at all. So is there a way I can pull the entirety of my project from plastic scm without having to go through unity editor, or is there a version of unity editor that actually functions as a game engine and also supports plastic scm at the same time?

    I'd really appreciate ideas on how I can potentially work around this issue.
     
    SMHall likes this.
  2. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @ILoveSMB, I'm so sorry that you've had such a rough time with your migration from Collaborate to Plastic SCM. Firstly, you can work around needing to open the Unity Editor to download your project by using the external Plastic SCM client, which you can download here.

    I'd still like to figure out why your project isn't opening with 2020.3.30f1. The next time you try opening it and you experience that freeze, could you go to your Editor logs, zip them up and share them with me?

    As for when opening your project on 2021.2.17f1, where you're getting the authentication error when trying to login with your email/password, could you try logging in with your Unity SSO instead to see if you get the same error?
     
  3. ILoveSMB

    ILoveSMB

    Joined:
    Jun 24, 2019
    Posts:
    4
    Hi, thank you for your assistance. I was able to recover the entire project from the external client. I should mention that "sign in with Unity ID" continues to show the same error page even when prompted through the plastic scm client, but the email/password login works in the client. I apologize as I wasn't able to recreate the issue where the editor is permanently frozen, but if the issue comes up again, I'll make sure to provide the log files.

    The recovered files now work normally in 2020.3.30f1, but it seems like unity engine now no longer shows the plastic scm window for this project and attempts to use the now deprecated collab system. That's not an issue as I can use the client to upload my changes.
     
  4. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    I'm very happy to hear that you were able to recover your project using the external client! That's odd that you're still experiencing issues logging in with Unity SSO. I know that you are able to work around that with your email/password, but if you have the time it would be great if you could open a Support Ticket with us so that we can investigate the issue further. No worries if you couldn't reproduce the editor freeze, we've had similar reports from other users that have also been hard to reproduce. Anything that you can provide will be very helpful.

    That's interesting that you are only seeing the Collaborate option in the Unity Editor. Could you open your Package Manager and confirm that you are using a recent version of the Version Control package (formerly called Unity Collaborate)?
     
  5. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @ILoveSMB, we just released 1.14.18/1.15.18 of the Version Control package with a fix that should address this Editor hang at startup and when pressing play. Can you please download the latest Version Control package via the Package Manager and see if this resolves your issue?