Connect two unity projects together

Can I connect two unity projects together for example if I have unity project and I want when the user clicks on the object another unity project will open(not scene) I am doing this since I may do update for the second project so I want to treat it as a package>Is there any advice how to do it ?

If you just want to open a new project instead of opening another Unity instance, see EditorApplication.OpenProject.

It is possible to spawn a new process with System.Diagnostics.Process.Start and the docs there have examples on usage.

If you start the process Unity.exe you can also specify which project that Unity should open with command line arguments.

  • “path/to/unity.exe” -projectPath “path/to/project”