I try different ways trying to start Plastic as version control for Unity.
I try so many options and follow video tutorials but fail .
I look at all the website video tutorials. There is no clear way.
I try the migration tool (from Collaborate) but I end up having this issue .
State of the art 2021
Who are the steps?
SOLUTION
Do not use the Plastic SCM that is in the asset store
Use the Plastic forum: https://forum.plasticscm.com/
Unity 2019LTS
-
Create a new Unity (2019LTS [OK]) project:
-
Do not use the Plastic SCM beta
-
Will be by default in Packages>Version Control>Editor>PlasticSCM
-
Install and Open Plastic SCM editor
-
in Workspace on top left > Create new Workspace
-
a new workspace window pops up
-
Default repository [New…]
-
Name of the repository: CloudRepository_YourProjectName
-
Server: will be your name@cloud
-
Press [OK]
-
WorkspaceName: LocalWork_YourProjectName
-
We already created a Unity project. Close the Unity project. Copy the path
-
so in “Path on disk” put the project path
-
just in case using the [Browse] button
-
to get as for example c:\Unity\YourProject.
-
Press [OK]
-
will return to Plastic SCM
-
press [Pending Changes] on the left under Main actions
-
to submit you need first to select all files assets:
-
select [Ă—]Added and private items, so all assets are selected
-
Add a check-in comment
-
press [Checkin]
-
It will ask you for encryption
-
put a password and register it in some safe place
-
It will make the push uploading all files to the cloud
-
Return to Unity
-
Is working fine. without switching to version control.
-
But just in case go to the Project Settings
-
Edit > Version Control and select Plastic
Unity 2020LTS
-
Create a new Unity (2020.3.15f2) project in this case with “Mobile 2D”
-
Do not use the Plastic SCM beta
-
Will be by default in Packages>Version Control>Editor>PlasticSCM
-
Install and Open Plastic SCM editor.
-
In my case, I already have the client configuration ready. So there is an extra step here.
-
in Workspace on the top left > Create new Workspace
-
a new workspace window pops up
-
Default repository: click [New…]
-
Name of the repository: CloudRepository_YourProjectName
-
Server: will be your name@cloud
-
Press [OK]
-
WorkspaceName: LocalWorkspace_YourProjectName
-
We already created a Unity project. Copy the path and close the Unity project.
-
so in “Path on disk” put the project path
-
just in case using the [Browse] button
-
to get as for example c:\Unity\YourProject.
-
Press [OK]
-
will return to Plastic SCM
-
press [Pending Changes] on the left under Main actions
-
to submit you need first to select all files assets:
-
select [Ă—]Added and private items, so all assets are selected
-
wait for a second
-
Add a check-in comment (I notice that there is no “Library” folder and that is good)
-
press [Checkin]
-
In my case, It did not ask for encryption
-
If so put a password and register it in some safe place
-
It will make the push uploading all files to the cloud
-
Return to Unity
-
Open Wiodow>Plastic SCM. Is working fine. without switching to version control.
-
But just in case go to the Project Settings…
-
Edit > Version Control and select Plastic
Next U2021 did not work because Plastic issue describe here
Unity 2021.1.16f1
-
Create a new Unity project or an existing one:
-
Do not use the Plastic SCM beta.
-
Delete it if is in: Assets>Plugins>Plastic (delete “Plastic” folder)
-
I did not find it in Packages>Version Control>Editor>PlasticSCM
-
Go to Package Manager
-
Install Version Control
-
Install and Open Plastic SCM editor
-
Under Plastic SCM title, there is [Workspace…] on the top left
-
Is the first top-left corner button with a drop-down menu
-
select “Create new workspace…”
-
and a “New workspace” window will pop up
-
in “Default repository:” click [New…]
-
a “New repository” window will pop up
-
in “Name of the repository:” type for example CloudRepo_YourProjectName
-
Server: will be your name@cloud
-
Press [OK]
-
in WorkspaceName: LocalWork_YourProjectName
-
We already created a Unity project. Close the Unity project. Copy the path
-
so in “Path on disk” put the project path
-
just in case using the [Browse] button
-
to get as for example c:\Unity\YourProject.
-
Press [OK]
-
If something is interfering a message will pop up
-
Do not copy, move the project or rename it because will not fix the problem
-
In my case, the following indications work
-
close Plastic SCM editor
-
delete the hidden “.plastic” folder that is inside the project
-
And then open and close the Unity project
-
open Plastic SCM editor
-
a “Welcome to Plastic” can pop up (because there is no configuration)
-
Use Centralized if is your case and follow the above indications.
-
Press [OK]
-
Plastic SCM will open
-
press [Pending Changes] on the left under Main actions
-
to submit you need first to select all files assets:
-
select [Ă—]Added and private items, so all assets are selected
-
sometimes you need to do this twice.
-
Add a check-in comment
-
press [Checkin] it will take some time to upload all files to the cloud
-
If It will ask you for encryption
-
put a password and register it in some safe place
-
Return/open Unity:
-
open the Project Setting window
-
go to Version Control and select Plastic
-
must be “Connected”
-
open Window > Plastic SCM
-
click to [Launch branch explarer]
-
now you can make a branch
-
In some cases, if the Library was compiled, you need to check in changes first
1 Like