This repository was archived by the owner on Jan 18, 2022. It is now read-only.
GDK for Unity Alpha Release 0.1.4
In our first release of 2019, we've got some big features landing! Notably: support of Unity 2018.3, cloud workflows for mobile builds, and the new Runtime opt in.
For information on upgrading your SpatialOS project to the new Runtime check out the upgrade guide in the SpatialOS documentation.
As always, we want your feedback and/or suggestions. Drop in our Discord, our forums, or here in the Github issues!
Please see the detailed release notes below for more information! 🎉
Known Issues
- IL2CPP builds are broken on Unity 2018.3.2f1 (Unity bug report) (#715)
- Protocol Logging is automatically disabled on Linux workers due to a linking error. (#714)
Added
- Added support for the Alpha Locator flow.
- Added support for connecting mobile devices to cloud deployments via the anonymous authentication flow.
- Added option to build workers out via IL2CPP in the cmd.
- Added an example of handling disconnect for mobile workers.
- Added support for launching an Android client from the Editor over ADB.
Changed
- Upgraded the Worker SDK version to
13.5.1. This is a stable Worker SDK release! 🎉 Improbable.Gdk.EntityTemplateis now mutable and exposes a set of APIs to add, remove, and replace component snapshots- This replaces the
Improbable.Gdk.Core.EntityBuilderclass. - These changes also allow you to reuse an
EntityTemplatemore than once.
- This replaces the
- Upgraded the project to be compatible with
2018.3.2f1. - Upgraded the entities package to
0.0.12-preview.21 - Disabled protocol logging on Linux workers to prevent crashes. This will be reverted once the underlying issue is fixed.
- Updated the
MobileWorkerConnectorto use the KCP network protocol by default. - Changed the
mobile_launch.jsonconfig to use the new Runtime. - Updated all the launch configs to use the new Runtime.
- Changed the build process in the Editor such that it skips builds that don't have build support rather than canceling the entire build process.
- Note that building via the
Improbable.Gdk.BuildSystem.WorkerBuilder.Buildstatic method is unchanged.
- Note that building via the
Fixed
Clean all workersnow cleans worker configs in addition to built-out workers.- Fixed a bug where you could start each built-out worker only once on OSX.
- Code generation now captures nested package dependencies, so the generated schema contains schema components from all required packages. Previously, code generation only generated schema for top-level dependencies, skipping nested packages.
- Fixed a bug where spaces in the path would cause code generation to fail on OSX.
- Fixed an issue in the TransformSynchronization module where an integer underflow would cause a memory crash.
- Fixed a bug where using
Coordinates,Vector3f, orVector3din a command definition would cause the Code Generator to crash.
Removed
- Removed the
Improbable.Gdk.Core.EntityBuilderclass as it was superceded by the updated functionality inImprobable.Gdk.Core.EntityTemplate.- Removed
CreateSchemaComponentDatafrom each generated component as it is no longer required by theEntityBuilder.
- Removed
- Removed
com.unity.incrementalcompilerpackage as a dependency of theCorepackage.