You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 11, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: docs/migration.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,7 @@ migrate your SpatialOS SDK for Unity version to 1.0.0.
16
16
Follow the steps below for every SpatialOS Unity project you want to upgrade and migrate.
17
17
18
18
## Quick guide
19
-
1. Run `spatial clean`.
19
+
1. Run `spatial worker clean`.
20
20
1. Clone the [SpatialOS SDK for Unity GitHub repository](https://github.com/spatialos/UnitySDK).
21
21
1. From the cloned repository, move the `Assets` and `Improbable` directories into your project’s Unity worker directory (this is usually `<root>/workers/unity`).
22
22
If you are asked whether to merge or replace the `Assets` folder, select `merge` otherwise you will delete the assets that your game depends upon.
@@ -27,7 +27,7 @@ and to replace `"spatialos.unity.worker.build.json"` with `"Improbable/build_scr
27
27
1. Delete the `spatialos_worker_packages.json` file.
28
28
1. In the root of your project, edit the `spatialos.json` file in two places so that `"version"` is `“13.0.0”`.
29
29
1. Set the file permissions to executable in `workers/unity/Improbable/bin/macos/`.
30
-
1. Run `spatial clean` (again).
30
+
1. Run `spatial worker clean` (again).
31
31
1. Run `spatial worker build`.
32
32
1. In your project’s root directory and `workers/unity` directory, edit the following lines in the version control system (VCS) ignore files:
33
33
* Delete
@@ -49,8 +49,8 @@ and to replace `"spatialos.unity.worker.build.json"` with `"Improbable/build_scr
49
49
50
50
### 1. Clean up your existing project
51
51
1. Open a terminal window and `cd` to the root directory of your project.
52
-
2. Run `spatial clean`.
53
-
Note: It’s very important you start by running `spatial clean`. If you don’t, files won’t be cleaned up properly and
52
+
2. Run `spatial worker clean`.
53
+
Note: It’s very important you start by running `spatial worker clean`. If you don’t, files won’t be cleaned up properly and
54
54
may cause issues with the new version.
55
55
56
56
### 2. Clone or download the SpatialOS SDK for Unity (1.0.0)
@@ -115,7 +115,7 @@ The file should now look similar to this:
115
115
}
116
116
```
117
117
118
-
6. In the root directory of your project, run `spatial clean` (again).
118
+
6. In the root directory of your project, run `spatial worker clean` (again).
119
119
120
120
### 4. Make sure the file permissions are correct
121
121
@@ -153,7 +153,7 @@ You need to do this for every project you migrate.
153
153
In the root directory of your project, check that the upgrade and migration worked by running:
154
154
`spatial worker build`.
155
155
156
-
It’s worked when you see `'spatial build UnityWorker UnityClient' succeeded` (or `'spatial.exe build UnityWorker UnityClient' succeeded`).
156
+
It’s worked when you see `'spatial worker build' succeeded`.
157
157
158
158
Please note that, due to outdated references in your `<root>\workers\unity\Library` folder, you may see errors reported despite your build ultimately succeeding. If you run `spatial worker build` again these should no longer appear.
0 commit comments