This repository was archived by the owner on Jan 18, 2022. It is now read-only.
GDK for Unity Alpha Release 0.2.5
·
322 commits
to develop
since this release
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
buildTargetcommand line argument tobuildEnvironment. #1012 - All GDK packages now have an
io.improbableprefix instead ofcom.improbable. #894
Added
- Added the
LinkedGameObjectMapclass for finding theGameObject(s) linked with a specifiedEntityId. #1013- This can be used with the
[Require]annotation to inject it into yourMonoBehavioursprovided you are using theGameObjectCreationfeature module. For example:[Require] private LinkedGameObjectMap gameObjectMap;
- This can be used with the
- Added the ability for the build system to build specific targets of a given build environment. #1012
- Use the
buildTargetFiltercommand line argument to pass in a comma delimited list of build targets to filter for. For example,+buildTargetFilter win,macos.
- Use the
- Added two new GDK packages:
io.improbable.worker.sdkandio.improbable.worker.sdk.mobilewhich contain the underlying Worker SDK packages for Windows/MacOS/Linux and Android/iOS respectively. #894 - You may now
[Require]aWorkerIdin 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.IsOwningWorkerwill now return false instead of throwing an exception if the entity is not in your worker's view.
Fixed
- Fixed a bug where
PlayerLifecycleHelper.IsOwningWorkerwould throw an exception if the entity was in your worker's view.