This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
GDK for Unity Alpha Release 0.3.5
In this release, we've updated the minimum supported version of Unity to 2019.3 and upgraded the com.unity.entities
packages to 0.9.1-preview.15
. With this, Burst compilation is now available for all PC platforms.
We've also upgraded to the latest Worker SDK, added a couple of methods to the Snapshot
utility class and now allow headless development builds for Linux.
Note that there are a few breaking changes, so please read the upgrade guide.
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 version of Unity that the GDK supports is now 2019.3. You need to upgrade your Unity project. #1336
- Upgraded the
com.unity.entities
packages to0.9.1-preview.15
. #1339- Authority in ECS is no longer a
SharedComponentData
, but instead a tag component. ComponentAuthority
has been renamed toHasAuthority
.- No need to filter your ECS query anymore, instead match for
HasAuthority
. - The
UpdateInSubSystem
attribute has been removed. - Built-in Unity AssetBundle and UI Elements modules are now required.
- Burst is now enabled for all PC platforms.
- Component replication will no longer attempt to replicate components the worker does not have authority over.
- Authority in ECS is no longer a
Added
- Added new methods to
Snapshot
utility class. #1338GetNextEntityId()
returns the next available entity ID.AddEntity(EntityId entityId, EntityTemplate entityTemplate)
adds an entity to the snapshot with a given entity ID.
- Added an additional
AddComponent
method to theEntityTemplate
class which does not require write-access to be given. #1338- This allows users to add undelegated components on entities.
- Added debug names to entities shown in EntityDebugger. #1342
Changed
Fixed
- Fix
PlayerHeartbeatInitializationSystem
to use the right components for filtering. #1352