From eae6cf5dcdb72655bde2121614001cdf1dde51bf Mon Sep 17 00:00:00 2001
From: jessicafalk <31853332+jessicafalk@users.noreply.github.com>
Date: Wed, 12 Jun 2019 15:37:36 +0100
Subject: [PATCH] Release 0.2.3 (#975)
* Release 0.2.3
* updating code docs and adding two new Project settings files
* new burst project setting file
* adding temporary component remark
* Update link.xml
* disabled burst compilation (#977)
* making DeferredDisposeWorker protected (#979)
* enabling burst just for iOS
* updated changelog
* updated changelog
* typo
* remove new line
* remove new line
---
CHANGELOG.md | 4 ++++
packer.config.json | 2 +-
workers/unity/Assets/link.xml | 3 +++
.../com.improbable.gdk.buildsystem/package.json | 4 ++--
.../Components/WorkerEntityComponents.cs | 6 ++----
.../com.improbable.gdk.core/Worker/WorkerConnector.cs | 2 +-
.../Packages/com.improbable.gdk.core/package.json | 6 +++---
.../package.json | 6 +++---
.../package.json | 2 +-
.../Packages/com.improbable.gdk.mobile/package.json | 4 ++--
.../com.improbable.gdk.playerlifecycle/package.json | 4 ++--
.../package.json | 4 ++--
.../com.improbable.gdk.testutils/package.json | 4 ++--
.../Packages/com.improbable.gdk.tools/package.json | 2 +-
.../package.json | 4 ++--
.../ProjectSettings/BurstAotSettings_Android.json | 11 +++++++++++
.../BurstAotSettings_StandaloneLinux.json | 11 +++++++++++
.../BurstAotSettings_StandaloneOSX.json | 11 +++++++++++
.../BurstAotSettings_StandaloneWindows.json | 11 +++++++++++
.../unity/ProjectSettings/BurstAotSettings_iOS.json | 11 +++++++++++
20 files changed, 86 insertions(+), 26 deletions(-)
create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_Android.json
create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_StandaloneLinux.json
create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_StandaloneOSX.json
create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json
create mode 100644 workers/unity/ProjectSettings/BurstAotSettings_iOS.json
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5411762b11..6a503c91e7 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
## Unreleased
+## `0.2.3` - 2019-06-12
+
### Breaking Changes
- Schema from packages are no longer copied into the root `schema` directory. [#953](https://github.com/spatialos/gdk-for-unity/pull/953)
@@ -37,6 +39,8 @@
- Removed the workaround for a schema component update bug (WRK-1031). [#962](https://github.com/spatialos/gdk-for-unity/pull/962)
- All playground launch configuration files now use the `w2_r0500_e5` template instead of the `small` template which was deprecated. [#968](https://github.com/spatialos/gdk-for-unity/pull/968)
+- Disabled Burst compilation for all platforms except for iOS, because Burst throws benign errors when building workers for other platforms than the one you are currently using. [#199](https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/199)
+- Enabled Burst compilation for iOS, because disabling results in an invalid XCode project. [#197](https://github.com/spatialos/gdk-for-unity-fps-starter-project/pull/197)
## `0.2.2` - 2019-05-15
diff --git a/packer.config.json b/packer.config.json
index 4a8ca2f510..c9c1d8c6f9 100644
--- a/packer.config.json
+++ b/packer.config.json
@@ -1,6 +1,6 @@
{
"package_name": "gdk-for-unity",
- "version": "0.2.2",
+ "version": "0.2.3",
"git_packages": [
{
"clone_url": "git@github.com:spatialos/gdk-for-unity.git",
diff --git a/workers/unity/Assets/link.xml b/workers/unity/Assets/link.xml
index 0199dda5bc..9298f8606c 100644
--- a/workers/unity/Assets/link.xml
+++ b/workers/unity/Assets/link.xml
@@ -3,4 +3,7 @@
+
+
+
diff --git a/workers/unity/Packages/com.improbable.gdk.buildsystem/package.json b/workers/unity/Packages/com.improbable.gdk.buildsystem/package.json
index de167f4580..588ad6cd6d 100644
--- a/workers/unity/Packages/com.improbable.gdk.buildsystem/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.buildsystem/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.buildsystem",
"displayName": "SpatialOS GDK Build System",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Build System Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs b/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs
index 57f1e58bf5..161c120d95 100644
--- a/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs
+++ b/workers/unity/Packages/com.improbable.gdk.core/Components/WorkerEntityComponents.cs
@@ -14,7 +14,7 @@ public struct WorkerEntityTag : IComponentData
/// ECS Component added to the worker entity immediately after establishing a connection to a SpatialOS deployment.
///
///
- /// This is a reactive component and the will
+ /// This is a temporary component and the will
/// remove it at the end of the frame.
///
[RemoveAtEndOfTick]
@@ -25,10 +25,8 @@ public struct OnConnected : IComponentData
///
/// ECS Component added to the worker entity immediately after disconnecting from SpatialOS
///
- ///
- /// This is a reactive component and the will
+ /// This is a temporary component and the will
/// remove it at the end of the frame.
- ///
[RemoveAtEndOfTick]
public struct OnDisconnected : ISharedComponentData, IEquatable
{
diff --git a/workers/unity/Packages/com.improbable.gdk.core/Worker/WorkerConnector.cs b/workers/unity/Packages/com.improbable.gdk.core/Worker/WorkerConnector.cs
index 37b528c7bf..24a57f449a 100644
--- a/workers/unity/Packages/com.improbable.gdk.core/Worker/WorkerConnector.cs
+++ b/workers/unity/Packages/com.improbable.gdk.core/Worker/WorkerConnector.cs
@@ -411,7 +411,7 @@ private void OnDisconnected(string reason)
StartCoroutine(DeferredDisposeWorker());
}
- private IEnumerator DeferredDisposeWorker()
+ protected IEnumerator DeferredDisposeWorker()
{
// Remove the world from the loop early, to avoid errors during the delay frame
RemoveFromPlayerLoop();
diff --git a/workers/unity/Packages/com.improbable.gdk.core/package.json b/workers/unity/Packages/com.improbable.gdk.core/package.json
index 0047e5b532..fe986a10d7 100644
--- a/workers/unity/Packages/com.improbable.gdk.core/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.core/package.json
@@ -1,13 +1,13 @@
{
"name": "com.improbable.gdk.core",
"displayName": "SpatialOS GDK Core",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Core Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.tools": "0.2.2",
- "com.improbable.gdk.testutils": "0.2.2",
+ "com.improbable.gdk.tools": "0.2.3",
+ "com.improbable.gdk.testutils": "0.2.3",
"com.unity.entities": "0.0.12-preview.33"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.deploymentlauncher/package.json b/workers/unity/Packages/com.improbable.gdk.deploymentlauncher/package.json
index 715553b5ce..44778338a1 100644
--- a/workers/unity/Packages/com.improbable.gdk.deploymentlauncher/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.deploymentlauncher/package.json
@@ -1,12 +1,12 @@
{
"name": "com.improbable.gdk.deploymentlauncher",
"displayName": "SpatialOS GDK Deployment Launcher",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Deployment Launcher. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2",
- "com.improbable.gdk.tools": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3",
+ "com.improbable.gdk.tools": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.gameobjectcreation/package.json b/workers/unity/Packages/com.improbable.gdk.gameobjectcreation/package.json
index 07d41cb426..8f3504ff12 100644
--- a/workers/unity/Packages/com.improbable.gdk.gameobjectcreation/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.gameobjectcreation/package.json
@@ -6,6 +6,6 @@
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK GameObject Creation Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.mobile/package.json b/workers/unity/Packages/com.improbable.gdk.mobile/package.json
index da2cff2c0d..765f9bf4f5 100644
--- a/workers/unity/Packages/com.improbable.gdk.mobile/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.mobile/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.mobile",
"displayName": "SpatialOS GDK Mobile Support",
- "version": "0.0.6",
+ "version": "0.0.7",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Mobile Support Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.playerlifecycle/package.json b/workers/unity/Packages/com.improbable.gdk.playerlifecycle/package.json
index 90607759a5..6fc261c8ca 100644
--- a/workers/unity/Packages/com.improbable.gdk.playerlifecycle/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.playerlifecycle/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.playerlifecycle",
"displayName": "SpatialOS GDK Player Lifecycle",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Player Lifecycle Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.querybasedinteresthelper/package.json b/workers/unity/Packages/com.improbable.gdk.querybasedinteresthelper/package.json
index 4065542ede..d5f3620ffc 100644
--- a/workers/unity/Packages/com.improbable.gdk.querybasedinteresthelper/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.querybasedinteresthelper/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.querybasedinteresthelper",
"displayName": "SpatialOS GDK Query-based Interest Helper",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Query-based Interest Helper Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.testutils/package.json b/workers/unity/Packages/com.improbable.gdk.testutils/package.json
index cd582ca9a3..112864dcd2 100644
--- a/workers/unity/Packages/com.improbable.gdk.testutils/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.testutils/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.testutils",
"displayName": "SpatialOS GDK Test Utils",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Test Utils. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/Packages/com.improbable.gdk.tools/package.json b/workers/unity/Packages/com.improbable.gdk.tools/package.json
index 9601af4b8a..9c36abd3c2 100644
--- a/workers/unity/Packages/com.improbable.gdk.tools/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.tools/package.json
@@ -1,7 +1,7 @@
{
"name": "com.improbable.gdk.tools",
"displayName": "SpatialOS GDK Tools",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Support Tools. Made by Improbable.",
diff --git a/workers/unity/Packages/com.improbable.gdk.transformsynchronization/package.json b/workers/unity/Packages/com.improbable.gdk.transformsynchronization/package.json
index 77f6a28828..97bbc69336 100644
--- a/workers/unity/Packages/com.improbable.gdk.transformsynchronization/package.json
+++ b/workers/unity/Packages/com.improbable.gdk.transformsynchronization/package.json
@@ -1,11 +1,11 @@
{
"name": "com.improbable.gdk.transformsynchronization",
"displayName": "SpatialOS GDK Transform Synchronization",
- "version": "0.2.2",
+ "version": "0.2.3",
"unity": "2019.1",
"author": "Improbable Worlds Ltd",
"description": "SpatialOS GDK Transform Synchronization Module. Made by Improbable.",
"dependencies": {
- "com.improbable.gdk.core": "0.2.2"
+ "com.improbable.gdk.core": "0.2.3"
}
}
diff --git a/workers/unity/ProjectSettings/BurstAotSettings_Android.json b/workers/unity/ProjectSettings/BurstAotSettings_Android.json
new file mode 100644
index 0000000000..5a8683dcf7
--- /dev/null
+++ b/workers/unity/ProjectSettings/BurstAotSettings_Android.json
@@ -0,0 +1,11 @@
+{
+ "MonoBehaviour": {
+ "m_Enabled": true,
+ "m_EditorHideFlags": 0,
+ "m_Name": "",
+ "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
+ "DisableOptimisations": false,
+ "DisableSafetyChecks": true,
+ "DisableBurstCompilation": true
+ }
+}
\ No newline at end of file
diff --git a/workers/unity/ProjectSettings/BurstAotSettings_StandaloneLinux.json b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneLinux.json
new file mode 100644
index 0000000000..5a8683dcf7
--- /dev/null
+++ b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneLinux.json
@@ -0,0 +1,11 @@
+{
+ "MonoBehaviour": {
+ "m_Enabled": true,
+ "m_EditorHideFlags": 0,
+ "m_Name": "",
+ "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
+ "DisableOptimisations": false,
+ "DisableSafetyChecks": true,
+ "DisableBurstCompilation": true
+ }
+}
\ No newline at end of file
diff --git a/workers/unity/ProjectSettings/BurstAotSettings_StandaloneOSX.json b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneOSX.json
new file mode 100644
index 0000000000..5a8683dcf7
--- /dev/null
+++ b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneOSX.json
@@ -0,0 +1,11 @@
+{
+ "MonoBehaviour": {
+ "m_Enabled": true,
+ "m_EditorHideFlags": 0,
+ "m_Name": "",
+ "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
+ "DisableOptimisations": false,
+ "DisableSafetyChecks": true,
+ "DisableBurstCompilation": true
+ }
+}
\ No newline at end of file
diff --git a/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json
new file mode 100644
index 0000000000..5a8683dcf7
--- /dev/null
+++ b/workers/unity/ProjectSettings/BurstAotSettings_StandaloneWindows.json
@@ -0,0 +1,11 @@
+{
+ "MonoBehaviour": {
+ "m_Enabled": true,
+ "m_EditorHideFlags": 0,
+ "m_Name": "",
+ "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
+ "DisableOptimisations": false,
+ "DisableSafetyChecks": true,
+ "DisableBurstCompilation": true
+ }
+}
\ No newline at end of file
diff --git a/workers/unity/ProjectSettings/BurstAotSettings_iOS.json b/workers/unity/ProjectSettings/BurstAotSettings_iOS.json
new file mode 100644
index 0000000000..ec0089d85d
--- /dev/null
+++ b/workers/unity/ProjectSettings/BurstAotSettings_iOS.json
@@ -0,0 +1,11 @@
+{
+ "MonoBehaviour": {
+ "m_Enabled": true,
+ "m_EditorHideFlags": 0,
+ "m_Name": "",
+ "m_EditorClassIdentifier": "Unity.Burst.Editor:Unity.Burst.Editor:BurstPlatformAotSettings",
+ "DisableOptimisations": false,
+ "DisableSafetyChecks": true,
+ "DisableBurstCompilation": false
+ }
+}
\ No newline at end of file