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

GDK for Unity Alpha Release 0.3.10

Compare
Choose a tag to compare
@gdk-for-unity-bot gdk-for-unity-bot released this 18 Aug 12:42
6b8e886

In this release, we've removed APIs for AuthorityLossImminent as the feature has been deprecated from SpatialOS. This means all authority changes to AuthorityLossImminent are dropped and relevant callbacks will no longer trigger. The Authority field on Readers and Writers has been changed to a boolean HasAuthority.

The GetAuthority, GetComponent and HasComponent methods have been removed from the ComponentUpdateSystem. You should use the EntityManager instead.

We've also changed the .NET Core dependency to v3.1.3xx (from v2.2.2xx), updated the pinned Runtime version to 14.5.4 and added an assortment of bug fixes to the build configuration asset, the WorkerSystem and the Transform Sync Feature Module.

In addition to code changes, a new chapter has been added the Blank Project tutorial guiding new users on how to create a new type of entity, update a snapshot to spawn entities of this type, and how to dynamically spawn entities at Runtime.

As this release has plenty of breaking changes, please read the upgrade guide here.

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

See the full release notes below! 👇


Breaking Changes

  • The Authority field on Readers and Writers has been changed to HasAuthority. It now returns a bool to indicate whether you have authority over the component it represents. #1364
    • This no longer supports AuthorityImminentLoss.
  • ComponentUpdateSystem no longer has the API GetAuthority, GetComponent, and HasComponent. #1364
    • Use the Unity Entities EntityManager instead.
  • The GDK now depends on .NET Core v3.1.3xx instead of v2.2.2xx. #1443
  • Removed APIs for AuthorityLossImminent. #1451
    • All authority changes to AuthorityLossImminent will now be dropped, and callbacks will no longer trigger.
  • Removed the AuthoritativeEntityResolver. The implementation was fundamentally flawed. #1453

Added

  • Added capability to test commands through the MockConnectionHandler. #1437

Changed

  • Updated the pinned Runtime version to 14.5.4. #1446

Fixed

  • Fixed an IndexOutOfRangeException that could be thrown when editing your 'Build Configuration' asset. #1441
  • The 'Build Configuration' Inspector window will no longer report your Android SDK installation as missing if you have a completely fresh Unity installation with the bundled Android SDK. #1441
  • Fixed a bug where having spaces in the path to your project would cause the 'Local launch' and 'Launch standalone client' menu options to fail on MacOS. #1442
  • Fixed a faulty sync point caused by using ComponentDataFromEntity of the WorkerSystem. #1430
  • Fixed a bug where the Transform Sync Feature Module would not correctly apply the Is Kinematic option. #1456

Internal

  • Added C# bindings for C Event Tracing API. #1440
  • Added native classes for IO operations in Event Tracing API. #1444
  • Removed the View class and its generated storage classes. #1364