com.unity.entities 1.2.0
Source docsNotes: processedReleased March 26, 2024
Unity Compatibility
Minimum Unity: 2022.3 (11f1)
Package Dependencies
- com.unity.burst (1.8.12)
- com.unity.collections (2.4.0)
- com.unity.mathematics (1.3.1)
- com.unity.modules.assetbundle (1.0.0)
- com.unity.modules.audio (1.0.0)
- com.unity.modules.unityanalytics (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.21.21)
- com.unity.serialization (3.1.1)
- com.unity.test-framework.performance (3.0.3)
✨ Features
- Document counterintuitive behavior when an `EntityQueryMask` is created from an `EntityQuery` that includes a `WithNone()` constraint, where `T` is an `IEnableableComponent`.
📈 Improvements
- Performance improvements in `LocalToWorldSystem` when processing entities with non-dirty hierarchies and no children.
- ### Deprecated
- `EntityManager.CopyEntities()` is now deprecated, and will be removed from the public API in a future package release. We're not aware of any use cases for this function outside of the Entities package itself; `EntityManager.Instantiate()` is the correct way for higher-level code to instantiate copies of existing entities.
🔧 Bug Fixes
- BakingAnalytics no longer initializes TypeManager [InitializeOnLoad]
- Fixed issue where breakpoints in jobs defined after systems with SystemAPI usage are not hit.
- Fixed an error where the Entities Hierarchy window was accessing a destroyed world during UI bindings.
- Using SystemAPI.GetComponentRO/RW with "using static SystemAPI" within an Entities.ForEach used to confuse the code generator and failed to compile.
- Replace `HierarchyNodeMap`'s indexer setter with explicit add/update logic.
- an issue with hybrid entity baking regarding scales with different signs
- Entities Hierarchy now removes all nodes of a scene and subscenes when the scene is unloaded.
- Exception thrown when entering a prefab from the Entities Hierarchy
- Fixed: Memory leak in certain circumstances in Entity Scene Streaming
- Improved error message for when `SystemAPI.QueryBuilder` users forget to call `.Build()`.
- An assert when using AddMultipleComponentsDuringStructuralChange with more than 10 entities in some cases
- Add filter button was not showing filters in Archetypes and Journaling windows.
- An invalid range check caused the removal of entities from the hierarchy view to sometimes fail in perfectly valid cases.
