Releases: needle-mirror/com.unity.collections
Releases · needle-mirror/com.unity.collections
2.6.4
2.6.3
[2.6.3] - 2025-10-17
Added
MaxCapacityconstant to define the maximum number of elements each container can hold.
Changed
- Updated the Burst dependency to version 1.8.25
Fixed
- Integer overflow when calculating memory size in bytes of containers that have a large number of elements.
2.6.2
[2.6.2] - 2025-09-05
Changed
- Updated Burst dependency to version 1.8.23.
2.6.0-pre.4
[2.6.0-pre.4] - 2025-06-06
Fixed
- Fixed an Issue where DataStreamReader failed to deserialize ulong variables only on Android, with burst off. Affected Unity 6.0.38 and onwards.
2.6.0-pre.3
[2.6.0-pre.3] - 2025-06-06
Added
threadIndexOverridemethod overloads forParallelWriter.Add/TryAddoperations forNativeParallelHashMap,UnsafeParallelHashMap,NativeParallelHashSet,UnsafeParallelHashSet,NativeQueue,UnsafeQueue,NativeParallelMultiHashMap, andUnsafeParallelMultiHashMap. These overloads allow some performance critical use-cases to sub-divide work that would previously be forced against a single collection, by enabling the (unsafe) injection of many instances of these collections (via their respectiveParallelWriters) into the same job. For example, this would allow you to convert aNativeParallelMultiHashMap<Tuple<TIndex,TKey>,TValue>.ParallelWriterpattern into an (unsafe)NativeList<UnsafeParallelHashMap<TKey,TValue>.ParallelWriter>[TIndex]pattern, which can; reduce individual collection capacities, reduce insertion/removal/clear call overheads, reduce the need to manually sort (or otherwise post-process) collection results, and allow better segmentation of work (i.e. higher granularity).
Changed
- Updated Burst dependency to version 1.8.21
Fixed
- UnsafeQueue memory leak due to OnDomainUnload callback being discarded by Burst.
- Fixed incorrect error message when a NativeStream foreach index is out-of-range.
2.5.7
[2.5.7] - 2025-04-11
Changed
- Updated the
com.unity.entitiesdependency to version1.3.14 - Updated the
com.unity.burstdependency to version1.8.19 - Updated the
com.unity.nuget.mono-cecildependency to version1.11.5 - Updated the
com.unity.test-framework dependencyto version1.4.6 - The minimum supported editor version is now 2022.3.20f1
Fixed
- UnsafeQueue memory leak due to OnDomainUnload callback being discarded by Burst.
2.6.0-exp.2
[2.6.0-exp.2] - 2025-03-07
Changed
- Updated the
com.unity.nuget.mono-cecildependency to version1.11.5 - Updated the
com.unity.burstdependency to version1.8.19 - Updated the
com.unity.test-framework dependencyto version1.4.6
Fixed
- Fixed incorrect behavior of
UnsafeBitArray.ReadOnly.TestNone
1.5.2
[1.5.2] - 2025-03-06
Fixed
- xxHash3.Hash128 when length is exactly 16, 128, or 240 bytes.
2.5.3
[2.5.3] - 2025-02-17
Fixed
- xxHash3.Hash128 when length is exactly 16, 128, or 240 bytes.