Skip to content

0.1.1-preview

Pre-release
Pre-release
Compare
Choose a tag to compare
@marwie marwie released this 26 May 02:41

[0.1.1-preview] - 2019-08-06

New Features

  • EntityManager.SetSharedComponentData(EntityQuery query, T componentData) has been added which lets you efficiently swap a shared component data for a whole query. (Without moving any component data)

Upgrade guide

  • The deprecated OnCreateManager and OnDestroyManager are now compilation errors in the NET_DOTS profile as overrides can not be detected reliably (without reflection).
    To avoid the confusion of "why is that not being called", especially when there is no warning issued, this will now be a compilation error. Use OnCreate and OnDestroy instead.

Changes

  • Updated default version of burst to 1.1.2

Fixes

  • Fixed potential memory corruption when calling RemoveComponent on a batch of entities that didn't have the component.
  • Fixed an issue where an assert about chunk layout compatibility could be triggered when adding a shared component via EntityManager.AddSharedComponentData(EntityQuery entityQuery, T componentData).
  • Fixed an issue where Entities without any Components would cause UI errors in the Chunk Info view
  • Fixed EntityManager.AddComponent(NativeArray entities, ComponentType componentType) so that it handles duplicate entities in the input NativeArray. Duplicate entities are discarded and the component is added only once. Prior to this fix, an assert would be triggered when checking for chunk layout compatibility.
  • Fixed invalid update path for ComponentType.Create. Auto-update is available in Unity 2019.3 and was removed for previous versions where it would fail (the fallback implementation will work as before).