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

Commit f3f4756

Browse files
authored
Upgrade to 0.1.2 and release prep (#60)
* Update signature of ClientWorkerConnector.HandleWorkerConnectionFailure * upgrading Unity and fixing more worker stuff * updating hash and disabling simulated player coordinator for development scene * update spatialos.json * 0.1.2 release * update changelog
1 parent e2257fb commit f3f4756

File tree

15 files changed

+36
-27
lines changed

15 files changed

+36
-27
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## Unreleased
44

5+
## `0.1.2` - 2018-11-02
6+
7+
### Changed
8+
9+
- Updated to GDK for Unity version `0.1.2`.
10+
511
### Fixed
612

713
- Fixed an issue where newer versions of Unity would fail to open the project with errors like: `ParticleSystem` not found.

ci/UnityEditorHash.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
ae1180820377
1+
3262fb3b0716

gdk.pinned

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.1.1
1+
0.1.2

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": "14.0-b6143-48ac8-WORKER-SNAPSHOT",
4+
"sdk_version": "14.0-b6841-3d544-WORKER-SNAPSHOT",
55
"dependencies": [
6-
{"name": "standard_library", "version": "14.0-b6143-48ac8-WORKER-SNAPSHOT"}
6+
{"name": "standard_library", "version": "14.0-b6841-3d544-WORKER-SNAPSHOT"}
77
]
88
}

workers/unity/Assets/Fps/Scenes/FPS-Development.unity

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1736,6 +1736,10 @@ Prefab:
17361736
propertyPath: DefaultSimulatedPlayerCount
17371737
value: 10
17381738
objectReference: {fileID: 0}
1739+
- target: {fileID: 1971737696589158, guid: a18c738cbcda9914591d9af24a618907, type: 2}
1740+
propertyPath: m_IsActive
1741+
value: 0
1742+
objectReference: {fileID: 0}
17391743
m_RemovedComponents: []
17401744
m_SourcePrefab: {fileID: 100100000, guid: a18c738cbcda9914591d9af24a618907, type: 2}
17411745
m_IsPrefabAsset: 0

workers/unity/Assets/Fps/Scripts/SetupLogic/ClientWorkerConnector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected override void HandleWorkerConnectionEstablished()
5858
base.HandleWorkerConnectionEstablished();
5959
}
6060

61-
protected override void HandleWorkerConnectionFailure()
61+
protected override void HandleWorkerConnectionFailure(string errorMessage)
6262
{
6363
connectionController.OnFailedToConnect();
6464
}

workers/unity/Assets/Fps/Scripts/SetupLogic/SimulatedPlayerWorkerConnector.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
using System;
1+
using System;
22
using Fps;
33
using Improbable.Gdk.Core;
44
using Improbable.Gdk.GameObjectCreation;
55
using Improbable.Gdk.GameObjectRepresentation;
6-
using Improbable.Gdk.Health;
76
using Improbable.Gdk.PlayerLifecycle;
87

9-
public class SimulatedPlayerWorkerConnector : WorkerConnector
8+
public class SimulatedPlayerWorkerConnector : DefaultWorkerConnector
109
{
1110
private const string AuthPlayer = "Prefabs/SimulatedPlayer/SimulatedPlayer";
1211
private const string NonAuthPlayer = "Prefabs/SimulatedPlayer/SimulatedPlayerProxy";

workers/unity/Assets/Fps/Scripts/SetupLogic/WorkerConnectorBase.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
using System.Threading.Tasks;
1+
using System.Threading.Tasks;
22
using Improbable.Gdk.Core;
33
using Improbable.Worker.Core;
44
using UnityEngine;
55

66
namespace Fps
77
{
8-
public abstract class WorkerConnectorBase : WorkerConnector
8+
public abstract class WorkerConnectorBase : DefaultWorkerConnector
99
{
1010
private const string Small = "small";
1111
private const string Large = "large";
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "com.improbable.gdk.guns",
33
"displayName": "SpatialOS GDK Guns",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"unity": "2018.2",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Guns Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core": "0.1.1",
10-
"com.improbable.gdk.standardtypes": "0.1.1",
11-
"com.improbable.gdk.objectpooling": "0.1.1"
9+
"com.improbable.gdk.core": "0.1.2",
10+
"com.improbable.gdk.standardtypes": "0.1.2",
11+
"com.improbable.gdk.objectpooling": "0.1.2"
1212
}
1313
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"name": "com.improbable.gdk.health",
33
"displayName": "SpatialOS GDK Health",
4-
"version": "0.1.1",
4+
"version": "0.1.2",
55
"unity": "2018.2",
66
"author": "Improbable Worlds Ltd",
77
"description": "SpatialOS GDK Health Module. Made by Improbable.",
88
"dependencies": {
9-
"com.improbable.gdk.core": "0.1.1"
9+
"com.improbable.gdk.core": "0.1.2"
1010
}
1111
}

0 commit comments

Comments
 (0)