What is the best way to create a second copy of my workspace on a laptop?

I tried to set this up but I can’t make it work, due to Plastic SCM.
I assume what happens is that all the files I made a copy of have a newer timestamp?
I’m not sure, plastic scm is in a constant state of frozen due to the 15.000 files it wants to reasses.
How can I just make a second identical workspace?

Hi,

You can create a new Plastic workspace from the Plastic GUI. A workspace is a local copy of your project. You can create as many as you need: Plastic SCM - Download Plastic SCM

Why do you need a second workspace in the same machine?

No, it’s on a seperate machiene!
I made a copy of all the files, copied them over, but plastic SCM doesnt seem to be able to handle it :confused:

You need to install Plastic in your new machine and create a new workspce.
After that, if you update the workspace, the data will be downloaded from the repository.
If the data is already on disk, Plastic won’t need to download the project from the server but just cache the data that is already on disk.

This cannot be done from within Unity?

Yes, if you open the Unity project on the new machine with the Version Control plugin installed, you should be able to create a new workspace (assuming there is no previous workspace in the new machine).

I tried it again and this time it worked. No idea what happened last time…
Thanks!

Hello!
Just as side node: Some people do need this. E.g. we need multiple project per machine for multiplayer testing in editor.

It is possible to copy the project and use junctions from the asset folder to the plastic projects asset folder to keep it in sync. So the second project does not need a plastic workspace.
Sadly import times in the second project are as high as in the main project. We experimented with syncing library artifacts which can work but there is a high risk of a corrupt project with this, so be careful.

The proper way of testing multiplayer projects currently is using ParrelSync (this is doing the same thing, duplicating project and creating junction to library folder - and soonTM Unity will deliver their own in-house testing tool, hopefully).
More info here: https://docs-multiplayer.unity3d.com/netcode/current/tutorials/testing/testing_locally/

1 Like