com.unity.entities 1.0.14
Source docsNotes: processedReleased August 10, 2023
Unity Compatibility
Minimum Unity: 2022.3 (0f1)
Package Dependencies
- com.unity.burst (1.8.7)
- com.unity.collections (2.1.4)
- com.unity.mathematics (1.2.6)
- com.unity.modules.assetbundle (1.0.0)
- com.unity.modules.audio (1.0.0)
- com.unity.modules.unitywebrequest (1.0.0)
- com.unity.nuget.mono-cecil (1.11.4)
- com.unity.profiling.core (1.0.2)
- com.unity.scriptablebuildpipeline (1.20.2)
- com.unity.serialization (3.1.1)
- com.unity.test-framework.performance (3.0.2)
✨ Features
- Obsolete API containing `evt.PreventDefault()` for `evt.StopPropagation()` in IListElement.cs.
- Added a dependency on the com.unity.test-framework.performance package
- Clean up for ComponentSystemGroup
- Early null entity check in ECB commands
- More error logging in DotsGlobalSettings
- Error logging in UpdateLoadOperation()
- Added `EntityCommandBuffer.MoveComponent(Entity src, Entity dst)`
📈 Improvements
- Updated Burst dependency to version 1.8.7
- Replaced an erroneous NUnit.Framework dependency in EntitySceneBuildUtility from an Assert.Equal() call with UnityEngine.Assertions
- Obsolete API containing `FindObjectsOfType<>()` for `FindObjectsByType<>(FindObjectsSortMode.None)` in SubSceneInspectorUtility.cs and `FindObjectOfType<>()` for `FindFirstObjectByType<>()` in LiveConversionEditorPerformanceTests.cs and LiveConversionEditorTests.cs.
- Increased allocation size in RuntimeContentManager initialization
- More informative error message in WriteSceneHeader()
⚡ API Changes
- Alignment attribute is removed when displaying component attributes in Inspector window.
🔧 Bug Fixes
- Avoid unnecessary sync point in `EntityCommandBufferSystem.OnUpdate()` if no command buffers were recorded.
- Adding and removing shared components and tag components to an entire chunk now correctly updates the per-component order versions. This most commonly manifested as errors in the element order of the data returned by `EntityQuery.GetTransformAccessArray()`.
- Use default inspector when an asset is selected regardless of the data mode.
- Assertion failure when undoing entity selection is fixed.
- Not being able to access Entity item from tuple when using `SystemAPI.Query` and `WithEntityAccess`.
- `BurstCompatibleAspect` is now `readonly`, as required by `IAspect` implementations.
- VisualElement null exception upon entities tooling windows' opening is fixed.
- Using `EnabledRefRW` and `EnabledMask` to set enableable component state to its existing value (e.g. disabling a component that's already disabled) no longer causes an "internal consistency check" failure when the EntityManager is disposed.
- Fixed potential uninitialized memory access when creating an `EntityQuery` with multiple `EntityQueryDesc` elements.
- Components tab update will check the target's existing state first.
- Check windows' initialization state before any actions in `OnDisable()`.
- Crash in EntityManager.SetArchetype() when the new archetype is the same as the current one.
- crash in BlobAssetReference
- Crash in BakingSystemFilterSettings
- Clarified documentation for the unusual semantics of `EntityManager.SetComponentEnabled(EntityQuery)`, which ignores the current status of enableable components and processes all entities in all of the query's matching chunks.
- Better error messages when `EntityManager`'s internal consistency checks fail at shutdown.
- `EntityManager.MoveComponent(Entity src, Entity dst)` now throws if `dst` already has the component `T`. This case has never been supported; previously, the existing value would be quietly leaked.
- Fixed stack overflow that was the result of circular dependency data in the content.
