This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
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.
- Projects now require the
- Adding an entity to the
Snapshot
class with a duplicate entity ID now throws an exception. #1479
Added
- Added
MeansImplicitUse
attribute toRequireAttribute
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 anEntityId
- Improved the search for next available
EntityId
, it will no longer return already usedEntityId
s. Snapshot
now auto-addsPersistence
when adding entitiesSnapshot
now implementsIDisposable
- Added the
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 byGetBuildContexts
. - Changed
BuildConfig
class visibility frominternal
topublic
. - Added more testing around
BuildContext
.
- Introduced a
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 nestedVisualElement
containers. #1480