Skip to content
This repository has been archived by the owner on Jan 18, 2022. It is now read-only.

GDK for Unity Alpha Release 0.2.5

Compare
Choose a tag to compare
@gdk-for-unity-bot gdk-for-unity-bot released this 18 Jul 17:18
· 322 commits to develop since this release
6689e30

This release is the first release where we are publishing the GDK packages as NPM packages, which means you can install them through the Unity Package Manager! In addition, we've added two objects that you can [Require] to make working in the MonoBehaviour layer simpler.

Keep giving us your feedback and/or suggestions! Check out our Discord, our forums, or here in the Github issues!

For more information, have a browse through our detailed release notes below or check out our Upgrade Guide! 🎉


Breaking Changes

  • Renamed the buildTarget command line argument to buildEnvironment. #1012
  • All GDK packages now have an io.improbable prefix instead of com.improbable. #894

Added

  • Added the LinkedGameObjectMap class for finding the GameObject(s) linked with a specified EntityId. #1013
    • This can be used with the [Require] annotation to inject it into your MonoBehaviours provided you are using the GameObjectCreation feature module. For example: [Require] private LinkedGameObjectMap gameObjectMap;
  • Added the ability for the build system to build specific targets of a given build environment. #1012
    • Use the buildTargetFilter command line argument to pass in a comma delimited list of build targets to filter for. For example, +buildTargetFilter win,macos.
  • Added two new GDK packages: io.improbable.worker.sdk and io.improbable.worker.sdk.mobile which contain the underlying Worker SDK packages for Windows/MacOS/Linux and Android/iOS respectively. #894
  • You may now [Require] a WorkerId in MonoBehaviours. For example: [Require] private WorkerId workerId;. #1016
  • iOS builds now perform a post processing step on the XCode project to ensure x86_64 and arm libraries from the SpatialOS Worker SDK are separated. #1040

Changed

  • PlayerLifecycleHelper.IsOwningWorker will now return false instead of throwing an exception if the entity is not in your worker's view.

Fixed

  • Fixed a bug where PlayerLifecycleHelper.IsOwningWorker would throw an exception if the entity was in your worker's view.

Internal

  • Stopped throwing a Test Exception in playground. #1011
  • The embedded DownloadCoreSdk dotnet project has been removed from Improbable.Gdk.Tools. #894
  • The PluginPostprocessor tool has been removed from Improbable.Gdk.Tools. #894