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

GDK for Unity Alpha Release 0.4.0

Latest
Compare
Choose a tag to compare
@gdk-for-unity-bot gdk-for-unity-bot released this 14 Sep 14:24
· 2 commits to master since this release
66cbca0

In this release, we've introduced support for Unity 2020.1 and have changed component serialization to use Unity Jobs for that multi-threaded goodness! Along with these changes are the usual quality-of-life improvements and bug fixes!

In addition to code changes a new chapter has been added the Blank Project tutorial, guiding you on how to setup and configure the Transform Synchronization Feature Module. Click here to read more.

As this release has some 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 minimum supported version of Unity is now 2020.1. #1459
  • Upgraded Unity Entities to 0.14.0-preview.18. #1463
    • Projects now require the Unity Web Request built-in package to compile for iOS and Android.
  • Adding an entity to the Snapshot class with a duplicate entity ID now throws an exception. #1479

Added

  • Added MeansImplicitUse attribute to RequireAttribute to reduce warnings in Rider IDE. #1462
  • Added Event Tracing API. #1452
  • Added tooltips to the SpatialOS Project Settings. #1470
  • Added new features to the Snapshot class #1479
    • Added the Contains(EntityId entityId) method to check if snapshot already contains an EntityId
    • Improved the search for next available EntityId, it will no longer return already used EntityIds.
    • Snapshot now auto-adds Persistence when adding entities
    • Snapshot now implements IDisposable

Changed

  • Upgrade to Worker SDK v14.8.0. #1458
  • Migrated launch configurations to latest game templates. #1457
  • Multithreaded component serialization through SystemBase jobs. #1454
  • Upgrade Unity Burst to 1.3.5. #1467
  • Removed outline and background around component info button in the Worker Inspector. #1468
  • Refactored the BuildContext class. #1461
    • Introduced a BuildContextSettings struct, which is required by GetBuildContexts.
    • Changed BuildConfig class visibility from internal to public.
    • Added more testing around BuildContext.

Fixed

  • Fixed an issue where authority changes returned by ComponentUpdateSystem.GetAuthorityChangesReceived() were returned in order from newest to oldest. #1465
  • Fixed a bug where the build system would throw a null reference exception if you don't have a configuration for a worker type. #1461
  • Fixed an incorrect callback registration for entity creation/removal in the WorldCommandSender. #1473
  • Fixed the TextField indentation issue in the Worker Inspector due to nested VisualElement containers. #1480