com.unity.entities 0.0.12-preview.33

com.unity.entities

Notes: processedReleased May 24, 2019

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.1 (0f1)

Features

  • `[DisableAutoCreation]` can now apply to entire assemblies, which will cause all systems contained within to be excluded from automatic system creation. Useful for test assemblies.
  • Added `ComponentSystemGroup.RemoveSystemFromUpdateList()`
  • `EntityCommandBuffer` has commands for adding/removing components, deleting entities and adding shared components based on an EntityQuery and its filter. Not available in the `Concurrent` version

🔄 Changes

  • Generic component data types must now be registered in advance. Use [RegisterGenericComponentType] attribute to register each concrete use. e.g. `[assembly: RegisterGenericComponentType(typeof(TypeManagerTests.GenericComponent))]`
  • Attempting to call `Playback()` more than once on the same EntityCommandBuffer will now throw an error.
  • Improved error checking for `[UpdateInGroup]`, `[UpdateBefore]`, and `[UpdateAfter]` attributes
  • TypeManager no longer imposes alignment requirements on components containing pointers. Instead, it now throws an exception if you try to serialize a blittable component containing an unmanaged pointer, which suggests different alternatives.

🔧 Bug Fixes

  • Fixed regression where accessing and destroying a blob asset in a burst job caused an exception
  • Fixed bug where entities with manually specified `CompositeScale` were not updated by `TRSLocalToWorldSystem`.
  • Error message when passing in invalid parameters to CreateSystem() is improved.
  • Fixed bug where an exception due to aggressive pointer restrictions could leave the `TypeManager` in an invalid state
  • SceneBoundingVolume is now generated seperately for each subsection
  • SceneBoundingVolume no longer throws exceptions in conversion flow
  • Fixed regression where calling AddComponent(NativeArray entities, ComponentType componentType) could cause a crash.