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.EntityQuerySnapshot
toImprobable.Gdk.Core.EntitySnapshot
. TheImprobable.Gdk.Core.Commands.WorldCommands.EntityQuery.ReceivedResponse
has been updated accordingly. #1053 DynamicSnapshot
andDynamicConverter
have been collapsed intoDynamic
. #1053- The delegates from all of these classes are now available in the
Dynamic.VTable<TData, TUpdate, TSnapshot>
struct. Dynamic.IHandler.Accept
now takes aDynamic.Vtable<TData, TUpdate, TSnapshot
parameter.
- 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_COMPONENTS
to 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
WorkerOpFactory
from theio.improbable.gdk.testutils
package. Please use theMockConnectionHandler
in theio.improbable.gdk.core
package instead. #1085 - Removed the
TestMonoBehaviour
from theio.improbable.gdk.testutils
package. #1085
Added
- Added a
bool TryGetComponent<T>(out T component);
method to theSpatialOSEntity
struct. This can help reduce boilerplate when writing customIEntityGameObjectCreator
implementations. #1049 - Added the
void AddComponentSnapshot<T>(T componentSnapshot)
andbool TryGetComponent<T>(out T componentSnapshot)
methods to theImprobable.Gdk.Core.EntitySnapshot
struct. #1053 - Added a
EntitySnapshot GetEntitySnapshot()
method to theImprobable.Gdk.Core.EntityTemplate
class. #1053 - Added methods for conversion of
Coordinates
,EdgeLength
,FixedPointVector3
andCompressedQuaternion
to/from native UnityVector3
andQuaternion
types. #1063 - Added basic arithmetic and equality operators for the
EdgeLength
standard library type. #1063 - Added a new
io.improbable.gdk.debug
package which contains an inspector extension for viewing[Require]
states in the editor #1082
Changed
- Upgraded to Worker SDK 13.8.2. #1052
- The new
Entity
schema type is deserialized as anImprobable.Gdk.Core.EntitySnapshot
. #1053
- The new
- The conversion methods for
FixedPointVector3
andCompressedQuaternion
have been moved fromTransformUtils
to 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
, andLinkedGameObjectMap
types 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
SchemaObject
struct for easy serializing/deserializing of theEntity
schema 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.pinned
from the tools package. - Moved
DisableAutoCreationTests
into the test project #1085