This repository was archived by the owner on Jan 18, 2022. It is now read-only.
GDK for Unity Alpha Release 0.2.6
This release contains an inspector extension for your [Require] fields in your Monobehaviours, some usability improvements in generated standard library and transform types, and an upgrade to Worker SDK 13.8.2!
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
Improbable.Gdk.Core.EntityQuerySnapshottoImprobable.Gdk.Core.EntitySnapshot. TheImprobable.Gdk.Core.Commands.WorldCommands.EntityQuery.ReceivedResponsehas been updated accordingly. #1053 DynamicSnapshotandDynamicConverterhave been collapsed intoDynamic. #1053- The delegates from all of these classes are now available in the
Dynamic.VTable<TData, TUpdate, TSnapshot>struct. Dynamic.IHandler.Acceptnow takes aDynamic.Vtable<TData, TUpdate, TSnapshotparameter.
- The delegates from all of these classes are now available in the
- Reactive components are now opt in instead of opt out. Use the scripting define
USE_LEGACY_REACTIVE_COMPONENTSto re-enable them. #1059- Note that these will be removed in a future release.
- Removed the
CreateTransformSnapshot(Coordinates location, Quaternion rotation, Vector3 velocity)method. #1063 - Removed the
WorkerOpFactoryfrom theio.improbable.gdk.testutilspackage. Please use theMockConnectionHandlerin theio.improbable.gdk.corepackage instead. #1085 - Removed the
TestMonoBehaviourfrom theio.improbable.gdk.testutilspackage. #1085
Added
- Added a
bool TryGetComponent<T>(out T component);method to theSpatialOSEntitystruct. This can help reduce boilerplate when writing customIEntityGameObjectCreatorimplementations. #1049 - Added the
void AddComponentSnapshot<T>(T componentSnapshot)andbool TryGetComponent<T>(out T componentSnapshot)methods to theImprobable.Gdk.Core.EntitySnapshotstruct. #1053 - Added a
EntitySnapshot GetEntitySnapshot()method to theImprobable.Gdk.Core.EntityTemplateclass. #1053 - Added methods for conversion of
Coordinates,EdgeLength,FixedPointVector3andCompressedQuaternionto/from native UnityVector3andQuaterniontypes. #1063 - Added basic arithmetic and equality operators for the
EdgeLengthstandard library type. #1063 - Added a new
io.improbable.gdk.debugpackage which contains an inspector extension for viewing[Require]states in the editor #1082
Changed
- Upgraded to Worker SDK 13.8.2. #1052
- The new
Entityschema type is deserialized as anImprobable.Gdk.Core.EntitySnapshot. #1053
- The new
- The conversion methods for
FixedPointVector3andCompressedQuaternionhave been moved fromTransformUtilsto their generated structs and are now public. #1063
Fixed
- The world command sender reactive components and reactive component systems are now properly conditionally compiled. #1059
- Subscribing to the
World,ILogDispatcher,WorkerId, andLinkedGameObjectMaptypes no longer cause different MonoBehaviour/GameObject subscriptions to cross-talk. This previously would result in Monobehaviours disabling unexpectedly. #1071
Internal
- Added extension methods on the
SchemaObjectstruct for easy serializing/deserializing of theEntityschema type. #1053 - Added options and functionality for serialization overrides for schema types only. #1061
- Laid the groundwork for 2D support in the Transform Synchronization Feature Module. #1064
- Removed
core-sdk.pinnedfrom the tools package. - Moved
DisableAutoCreationTestsinto the test project #1085