com.unity.collections 0.1.0-preview

com.unity.collections

Notes: processedReleased July 30, 2019

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2019.1 (0f1)

Features

  • NativeMultiHashMap.Remove(key, value) has been addded. It lets you remove
  • all key & value pairs from the hashmap.
  • Added ability to dispose containers from job (DisposeJob).
  • Added UnsafeList.AddNoResize, and UnsafeList.AddRangeNoResize.
  • ### Upgrade guide
  • `Native*.Concurrent` is renamed to `Native*.ParallelWriter`.
  • `Native*.ToConcurrent()` function is renamed to `Native*.AsParallelWriter()`.

🔄 Changes

  • Deprecated ToConcurrent, added AsParallelWriter instead.
  • Allocator is not an optional argument anymore, user must always specify the allocator.
  • Added Allocator to Unsafe\*List container, and removed per method allocator argument.
  • Introduced memory intialization (NativeArrayOptions) argument to Unsafe\*List constructor and Resize.

🔧 Bug Fixes

  • Fixed UnsafeList.RemoveRangeSwapBack when removing elements near the end of UnsafeList.
  • Fixed safety handle use in NativeList.AddRange.