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. Dismiss Notice

Plastic breaks Linux builds

Discussion in 'Unity Version Control' started by knobby67, Apr 21, 2022.

  1. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    385
    Hi All,
    already posted on Linux sub as didn't realise this sub exists. So... Unity project was working fine before Easter break. Came back to it today and have a lock up issue. Unity starts up. The top bar works fine. However i can't interact with any other windows eg Hierarchy. My console reports

    Code (csharp):
    1. Only Modal Utilities are truly modal on Linux. System.Reflection.MethodBase:Invoke( object, object[] )
    On lots of checking I think this to do with collab migration to plastic scm and is trying to auto update. So I started a new project, copied over just my assets stuff and started collab. I did a manual migration of to plastic following all the advise ( ububtu but I use mint so should work) but when I come to the "sudo apt-get install plasticscm-cloud" I get an error.

    Code (csharp):
    1.  
    2. [LIST=1]
    3. [*]Reading package lists... Done
    4. [*]Building dependency tree    
    5. [*]Reading state information... Done
    6. [*]Some packages could not be installed. This may mean that you have
    7. [*]requested an impossible situation or if you are using the unstable
    8. [*]distribution that some required packages have not yet been created
    9. [*]or been moved out of Incoming.
    10. [*]The following information may help to resolve the situation:
    11. [*]
    12.  
    13. [*]The following packages have unmet dependencies.
    14. [*] plasticscm-cloud : Depends: plasticscm-client-complete (= 11.0.16.6825) but it is not going to be installed
    15. [*]E: Unable to correct problems, you have held broken packages
    [/LIST]
    When I check what's available with "apt-cache search plasticscm" cloud is available.
    So I try to install client-complete, this says ... misting, I try to install package after package util I reach
    plasticscm-gnome-sharp-mono4, this won't install because it uses libgnome, I use mint with xfce

    Code (csharp):
    1.  
    2. Depends: libgnome2-0 (>= 2.17.3) but it is not installable
    3.                                 Depends: libgnomeui-0 but it is not installable
    4.  
    Can anyone tell me how I can get this working on Linux Mint xfce, the advise from the website doesn't work and the automatic update breaks unity with the first error? Does this mean I can use collab anymore?



    EDIT
    my editor log shows the following repeating
    Code (csharp):
    1.  
    2. Collab] ReposController::CreateRepoError: Organization has been migrated to Plastic SCM, refusing to create new project in Collab. Please see: https://docs.unity3d.com/2021.2/Documentation/Manual/PlasticSCMPlugin.html
    3.  
    4. [Collab 2022-0421 14:14:15 GMT][Error] 'Unable to refresh channel access' (51) returned in './Editor/Src/Collab/Requests/SoftLocksRequests.cpp' at line 256
    5. [Collab 2022-0421 14:14:15 GMT] RefreshChannelAccessRequestInternal  failed, Reason: 423 Url: https://collab.cloud.unity3d.com/api/refresh_channel_access/ Result: {"server":"collab-6448667db7-xd2tw","detail":"ReposController::CreateRepoError: Organization has been migrated to Plastic SCM, refusing to create new project in Collab. Please see: https://docs.unity3d.com/2021.2/Documentation/Manual/PlasticSCMPlugin.html","date":"2022-04-21T14:14:15.563Z","request_id":"8b8a259e-d567-4975-9140-6954e84ce0c9","code":"INTERNAL"}
    6.  
     
    Last edited: Apr 21, 2022
  2. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    Hi @knobby67, I'm sorry you've been having issues getting started with Plastic SCM in the Unity Plugin on Mint. Could you try the following workaround for the libgnomde2 dependency to see if that resolves your issue?
     
  3. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    385
    Thanks I got it working. This is what I did in.
    1. Upgraded to unity 2021 LTS
    2. Turned off collab in services.
    3. Downloaded version control in package management
    4. Now plastic scm is selectable on your top bar drop down menus. Select and it will install.

    One thing odd when I try to start an upload whatever I do when I start and select a name it uploads to the cloud as “My Project” the default name…
     
  4. Ryan-Unity

    Ryan-Unity

    Unity Technologies

    Joined:
    Mar 23, 2016
    Posts:
    1,993
    I'm glad you were able to get it working on Mint!

    When you chose to create a workspace using the Plastic SCM window in the Unity Editor, were you given an option to choose your repo/workspace name before creating it? That should have allowed you to switch it from "My Project" to whatever you would prefer your repo to be called before it was uploaded. You can still rename your repo using the external Plastic SCM client by following the instructions here.
     
    knobby67 likes this.
  5. knobby67

    knobby67

    Joined:
    Aug 30, 2015
    Posts:
    385
    Yes that box opened I change name in project, but it made no difference, uploaded as My Project
     
  6. AshyB

    AshyB

    Joined:
    Aug 9, 2012
    Posts:
    189
    Just came across this now trying to get Plastic SCM to work with Linux Mint Unity 2021.3 LTS.

    Trying to use Plastic inside of the Unity editor is not a pleasant experience, firstly it constantly causes recompilation anytime you press a button, several files were moved so it broke other files causing errors and it just plain refused to work. Trying to check in causes an error something along the lines of "z assembly something something".

    Ended up just using the external editor which was also unpleasant to get started as there was "held package" problems which were fixed by adding older Ubuntu Bionic sources and then trying to install. Seems to be working now OK.
     
  7. carlosalba1985

    carlosalba1985

    Unity Technologies

    Joined:
    Jul 19, 2021
    Posts:
    841
    I'm the Unity plugin for Plastic SCM is not officially supported in Linux.

    Good to know that you are able to use the Plastic GUI :)