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

How to remove safely remove Plastic SCM?

Discussion in 'Unity Version Control' started by sandbaydev, Apr 14, 2022.

  1. sandbaydev

    sandbaydev

    Joined:
    Aug 9, 2013
    Posts:
    104
    I was happy Collaborate user.
    I migrated to Plastic SCM.
    I'm sorry, this just isn't for me.

    I'm changing a prefab, and then I get "Version Control: an existing checkout operation has locked the workspace". I didn't press any buttons. I have 1 developer in the team. I didn't do a single change anywhere.

    I close the editor and don't get that error, until at some point I get it again.

    So, I do not want to be a "compatibility/migration/beta tester" for Plastic SCM.

    Maybe I'm too dumb for this tool. Either way...

    How do I safely remove Plastic SCM from my unity project without losing any data from local?
     
    FamishedMammal and VardenEE like this.
  2. sandbaydev

    sandbaydev

    Joined:
    Aug 9, 2013
    Posts:
    104
    "remove safely remove" Was not intentional :cool:
     
  3. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @sandbaydev, I'm sorry that you're experiencing issues. It sounds like you were in the middle of working on your project while it was migrated from Collab to Plastic SCM. If you've updated your Version Control package to the latest version, and are using above the minimum supported version of the Unity Editor, then after closing and re-opening your Unity Project, it should take you through the final process of migrating your project's local instance from Collab to Plastic. If you've done all that and are still experiencing issues, then re-downloading your project from the Unity Hub will download the Plastic workspace of your project, allowing you to continue working.

    I assure you that you are not too dumb to use this tool or any tool for that matter.

    If you still would prefer to stop using Plastic SCM, then you can safely remove it by uninstalling the Version Control package in the Package Manager window.
     
  4. sandbaydev

    sandbaydev

    Joined:
    Aug 9, 2013
    Posts:
    104
    Thanks for the clear answer.

    Tool looked quite clear, but I just don't have the time and effort to start fixing and figuring "what is this problem now". I avoid Unity packages knowing that there's always a risk that "some configuration" against "some tool configuration" increases risks of compatibility issues.

    I'll wait until the plastic-unity version stops being "beta" and re-consider coming back when it's stable.
     
    Last edited: Apr 16, 2022
  5. mhelmrei

    mhelmrei

    Joined:
    Oct 16, 2018
    Posts:
    3
    Hello,
    i followed your instructions and removed the Version Control package. I would still like to use Collaborate but when i install the Version control again I receive the following Error from Plastic SCM. Im using Unity 2020.3.30f1.

    Thank you.
    Matthias

    CmClientException: The client configuration file "client.conf" contains errors: Root element is missing.
    Codice.Client.Common.ClientConfigData.Deserialize (System.String filename, System.Boolean bThrowOnError) (at <c367e0bcb6d443aab744a88f98b1f317>:0)
    Codice.Client.Common.ClientConfigData.Load (System.String filename) (at <c367e0bcb6d443aab744a88f98b1f317>:0)
    Codice.Client.Common.ClientConfig.InitFromFile (System.String fileName) (at <c367e0bcb6d443aab744a88f98b1f317>:0)
    Codice.Client.Common.ClientConfig.Get () (at <c367e0bcb6d443aab744a88f98b1f317>:0)
    Unity.PlasticSCM.Editor.FindWorkspace.PathForApplicationPath (System.String path) (at Library/PackageCache/com.unity.collab-proxy@1.15.16/Editor/PlasticSCM/FindWorkspace.cs:21)
    Unity.PlasticSCM.Editor.FindWorkspace.HasWorkspace (System.String path) (at Library/PackageCache/com.unity.collab-proxy@1.15.16/Editor/PlasticSCM/FindWorkspace.cs:12)
    Unity.PlasticSCM.Editor.CollabMigration.MigrateCollabProject.ShouldProjectBeMigrated (System.String projectPath, System.String projectGuid) (at Library/PackageCache/com.unity.collab-proxy@1.15.16/Editor/PlasticSCM/CollabMigration/MigrateCollabProject.cs:80)
    Unity.PlasticSCM.Editor.CollabMigration.MigrateCollabProject.RunOnceWhenAccessTokenAndProjectIdAreInitialized () (at Library/PackageCache/com.unity.collab-proxy@1.15.16/Editor/PlasticSCM/CollabMigration/MigrateCollabProject.cs:48)
    UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <68089899e4c84456bfc1de3436accf4a>:0)
     
  6. Lars-Steenhoff

    Lars-Steenhoff

    Joined:
    Aug 7, 2007
    Posts:
    3,458
    Collab is no longer available
     
  7. AndyNeoman

    AndyNeoman

    Joined:
    Sep 28, 2014
    Posts:
    938
    What if you cant open your project because you keep getting ProjectBrowser.ongui.repaint and it refuses to open?
     
  8. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    847
    How is this related to Plastic SCM? Can you elaborate a bit more? What the the steps you are following?

    You can also disable the Plastic SCM plugin.
     
  9. mpetrini

    mpetrini

    Joined:
    May 6, 2022
    Posts:
    2
    I have the same problem. Without solution. More than 999 errors with plastic even Version Control desinstalled.

    upload_2022-11-18_13-53-44.png
     
  10. mpetrini

    mpetrini

    Joined:
    May 6, 2022
    Posts:
    2
    All works fine after delete Library folder from my project and open it again.
     
  11. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    847
    Hi,

    In the "Library" folder there is some temporary stuff. Did you close and re-open Unity after uninstalling the Version Control package? It may be enough.

    Also, why are you uninstalling the Version Control package? As you probably know, Collab is not available anymore. According to the error message in the last screenshot, Collab is somehow still active in this editor. You might need to manually disable Collab in the Unity services panel

    Regards,
    Carlos.
     
  12. rlalancette

    rlalancette

    Joined:
    Sep 20, 2014
    Posts:
    18
    I would strongly suggest not adding packages that the typical guy won't use.
    Most of us are probably already on perforce or github.
     
  13. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    847
    If you are already using P4/GitHub, why would you install the Version Control package?
     
  14. unity_007fkj

    unity_007fkj

    Joined:
    Mar 23, 2019
    Posts:
    9
    I am able to unlik my project from plastic scm via deleting the plastic folder.
     
    KellyCode and valentin56610 like this.