Skip to content
This repository was archived by the owner on Oct 11, 2019. It is now read-only.

Commit e8b8994

Browse files
Correcting command names to match v2. (#24)
1 parent 2be8f11 commit e8b8994

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/migration.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ migrate your SpatialOS SDK for Unity version to 1.0.0.
1616
Follow the steps below for every SpatialOS Unity project you want to upgrade and migrate.
1717

1818
## Quick guide
19-
1. Run `spatial clean`.
19+
1. Run `spatial worker clean`.
2020
1. Clone the [SpatialOS SDK for Unity GitHub repository](https://github.com/spatialos/UnitySDK).
2121
1. From the cloned repository, move the `Assets` and `Improbable` directories into your project’s Unity worker directory (this is usually `<root>/workers/unity`).
2222
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
2727
1. Delete the `spatialos_worker_packages.json` file.
2828
1. In the root of your project, edit the `spatialos.json` file in two places so that `"version"` is `“13.0.0”`.
2929
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).
3131
1. Run `spatial worker build`.
3232
1. In your project’s root directory and `workers/unity` directory, edit the following lines in the version control system (VCS) ignore files:
3333
* Delete
@@ -49,8 +49,8 @@ and to replace `"spatialos.unity.worker.build.json"` with `"Improbable/build_scr
4949

5050
### 1. Clean up your existing project
5151
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
5454
may cause issues with the new version.
5555

5656
### 2. Clone or download the SpatialOS SDK for Unity (1.0.0)
@@ -115,7 +115,7 @@ The file should now look similar to this:
115115
}
116116
```
117117

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).
119119

120120
### 4. Make sure the file permissions are correct
121121

@@ -153,7 +153,7 @@ You need to do this for every project you migrate.
153153
In the root directory of your project, check that the upgrade and migration worked by running:
154154
`spatial worker build`.
155155

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`.
157157

158158
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.
159159

0 commit comments

Comments
 (0)