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

Commit 2a8c5e6

Browse files
author
Jamie Brynes
authored
14.0.1 upgrade (#69)
1 parent f21491a commit 2a8c5e6

File tree

7 files changed

+12
-37
lines changed

7 files changed

+12
-37
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717

1818
- The **SpatialOS** > **Generate snapshot** button now generates a snapshot directly without displaying a pop-up window. [#68](https://github.com/spatialos/gdk-for-unity-blank-project/pull/68)
1919

20+
### Internal
21+
22+
- Removed old arguments from the worker JSON files. [#69](https://github.com/spatialos/gdk-for-unity-blank-project/pull/69)
23+
2024
## `0.2.6` - 2019-08-05
2125

2226
### Changed

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e31c47b5050ee67cafe8962204aa86a259095db0
1+
618c28ce0a3d13d17859aab25d8818ca159f4c6c

spatialos.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "unity_gdk",
33
"project_version": "0.0.1",
4-
"sdk_version": "13.8.2",
4+
"sdk_version": "14.0.1",
55
"dependencies": [
6-
{"name": "standard_library", "version": "13.8.2"}
6+
{"name": "standard_library", "version": "14.0.1"}
77
]
88
}

workers/unity/Assets/BlankProject/Scripts/Workers/MobileClientWorkerConnector.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ public async void Start()
3232
builder.SetConnectionFlow(new ReceptionistFlow(CreateNewWorkerId(WorkerType),
3333
flowInitializer));
3434
break;
35-
case ConnectionService.AlphaLocator:
36-
builder.SetConnectionFlow(new AlphaLocatorFlow(flowInitializer));
35+
case ConnectionService.Locator:
36+
builder.SetConnectionFlow(new LocatorFlow(flowInitializer));
3737
break;
3838
default:
3939
throw new ArgumentException("Received unsupported connection service.");

workers/unity/Assets/BlankProject/Scripts/Workers/UnityClientConnector.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@ private async void Start()
2929
case ConnectionService.Locator:
3030
builder.SetConnectionFlow(new LocatorFlow(initializer));
3131
break;
32-
case ConnectionService.AlphaLocator:
33-
builder.SetConnectionFlow(new AlphaLocatorFlow(initializer));
34-
break;
3532
default:
3633
throw new ArgumentOutOfRangeException();
3734
}

workers/unity/spatialos.UnityClient.worker.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
"arguments": [
4040
"+workerType",
4141
"UnityClient",
42-
"+infraServicesUrl",
43-
"http://127.0.0.1:21000",
44-
"+projectName",
45-
"${IMPROBABLE_PROJECT_NAME}",
4642
"-logfile",
4743
"../../logs/external-default-unityclient.log"
4844
]
@@ -53,14 +49,8 @@
5349
"-n",
5450
"./build/worker/UnityClient@Mac/[email protected]",
5551
"--args",
56-
"+assemblyName",
57-
"local_assembly",
5852
"+workerType",
5953
"UnityClient",
60-
"+infraServicesUrl",
61-
"http://127.0.0.1:21000",
62-
"+projectName",
63-
"${IMPROBABLE_PROJECT_NAME}",
6454
"-logfile",
6555
"../../logs/external-default-unityclient.log"
6656
]

workers/unity/spatialos.UnityGameLogic.worker.json

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,6 @@
3939
"arguments": [
4040
"+workerType",
4141
"UnityGameLogic",
42-
"+infraServicesUrl",
43-
"http://127.0.0.1:21000",
44-
"+projectName",
45-
"${IMPROBABLE_PROJECT_NAME}",
4642
"-batchmode",
4743
"-nographics",
4844
"-logfile",
@@ -55,14 +51,8 @@
5551
"-n",
5652
"./build/worker/UnityGameLogic@Mac/[email protected]",
5753
"--args",
58-
"+assemblyName",
59-
"local_assembly",
6054
"+workerType",
6155
"UnityGameLogic",
62-
"+infraServicesUrl",
63-
"http://127.0.0.1:21000",
64-
"+projectName",
65-
"${IMPROBABLE_PROJECT_NAME}",
6656
"-batchmode",
6757
"-nographics",
6858
"-logfile",
@@ -80,14 +70,12 @@
8070
"UnityGameLogic",
8171
"+workerId",
8272
"${IMPROBABLE_WORKER_ID}",
83-
"+projectName",
84-
"${IMPROBABLE_PROJECT_NAME}",
8573
"+receptionistHost",
8674
"${IMPROBABLE_RECEPTIONIST_HOST}",
8775
"+receptionistPort",
8876
"${IMPROBABLE_RECEPTIONIST_PORT}",
8977
"+linkProtocol",
90-
"RakNet",
78+
"Tcp",
9179
"-batchmode",
9280
"-nographics",
9381
"-logfile",
@@ -102,14 +90,12 @@
10290
"UnityGameLogic",
10391
"+workerId",
10492
"${IMPROBABLE_WORKER_ID}",
105-
"+projectName",
106-
"${IMPROBABLE_PROJECT_NAME}",
10793
"+receptionistHost",
10894
"${IMPROBABLE_RECEPTIONIST_HOST}",
10995
"+receptionistPort",
11096
"${IMPROBABLE_RECEPTIONIST_PORT}",
11197
"+linkProtocol",
112-
"RakNet",
98+
"Tcp",
11399
"-batchmode",
114100
"-nographics",
115101
"-logfile",
@@ -124,14 +110,12 @@
124110
"UnityGameLogic",
125111
"+workerId",
126112
"${IMPROBABLE_WORKER_ID}",
127-
"+projectName",
128-
"${IMPROBABLE_PROJECT_NAME}",
129113
"+receptionistHost",
130114
"${IMPROBABLE_RECEPTIONIST_HOST}",
131115
"+receptionistPort",
132116
"${IMPROBABLE_RECEPTIONIST_PORT}",
133117
"+linkProtocol",
134-
"RakNet",
118+
"Tcp",
135119
"-batchmode",
136120
"-nographics",
137121
"-logfile",

0 commit comments

Comments
 (0)