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
gdk-for-unity-bot
released this
18 Jul 17:18
·
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
buildTarget
command line argument tobuildEnvironment
. #1012 - All GDK packages now have an
io.improbable
prefix instead ofcom.improbable
. #894
Added
- Added the
LinkedGameObjectMap
class for finding theGameObject
(s) linked with a specifiedEntityId
. #1013- This can be used with the
[Require]
annotation to inject it into yourMonoBehaviours
provided you are using theGameObjectCreation
feature 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
buildTargetFilter
command 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.sdk
andio.improbable.worker.sdk.mobile
which contain the underlying Worker SDK packages for Windows/MacOS/Linux and Android/iOS respectively. #894 - You may now
[Require]
aWorkerId
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.