Skip to content

Releases: needle-mirror/com.unity.collections

2.6.4

05 Jan 23:00

Choose a tag to compare

[2.6.4] - 2025-12-16

Changed

  • Updated the com.unity.nuget.mono-cecil dependency to version 1.11.6
  • Updated the com.unity.entities dependency to version 1.4.4

Fixed

  • Issue when FixedStringNBytes is compared to managed String to avoid use implicit cast.

2.6.3

31 Oct 00:32

Choose a tag to compare

[2.6.3] - 2025-10-17

Added

  • MaxCapacity constant 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

02 Oct 22:13

Choose a tag to compare

[2.6.2] - 2025-09-05

Changed

  • Updated Burst dependency to version 1.8.23.

2.6.0-pre.4

24 Jul 22:08

Choose a tag to compare

[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

12 Jun 16:08

Choose a tag to compare

[2.6.0-pre.3] - 2025-06-06

Added

  • threadIndexOverride method overloads for ParallelWriter.Add/TryAdd operations for NativeParallelHashMap, UnsafeParallelHashMap, NativeParallelHashSet, UnsafeParallelHashSet, NativeQueue, UnsafeQueue, NativeParallelMultiHashMap, and UnsafeParallelMultiHashMap. 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 respective ParallelWriters) into the same job. For example, this would allow you to convert a NativeParallelMultiHashMap<Tuple<TIndex,TKey>,TValue>.ParallelWriter pattern 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

15 Apr 09:08

Choose a tag to compare

[2.5.7] - 2025-04-11

Changed

  • Updated the com.unity.entities dependency to version 1.3.14
  • Updated the com.unity.burst dependency to version 1.8.19
  • Updated the com.unity.nuget.mono-cecil dependency to version 1.11.5
  • Updated the com.unity.test-framework dependency to version 1.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

14 Mar 17:08

Choose a tag to compare

[2.6.0-exp.2] - 2025-03-07

Changed

  • Updated the com.unity.nuget.mono-cecil dependency to version 1.11.5
  • Updated the com.unity.burst dependency to version 1.8.19
  • Updated the com.unity.test-framework dependency to version 1.4.6

Fixed

  • Fixed incorrect behavior of UnsafeBitArray.ReadOnly.TestNone

1.5.2

31 Mar 10:07

Choose a tag to compare

[1.5.2] - 2025-03-06

Fixed

  • xxHash3.Hash128 when length is exactly 16, 128, or 240 bytes.

2.5.3

24 Feb 11:07

Choose a tag to compare

[2.5.3] - 2025-02-17

Fixed

  • xxHash3.Hash128 when length is exactly 16, 128, or 240 bytes.

2.5.2

22 Jan 14:08

Choose a tag to compare

[2.5.2] - 2025-01-16

Added