com.unity.collections 2.3.0-exp.1

com.unity.collections

Source docs
Notes: processedReleased September 20, 2023

Browse versions

PreviousNext

Unity Compatibility

Minimum Unity: 2022.3 (0f1)

Features

  • Added a new `GetUnsafeReadOnlyPtr` method to `DataStreamReader`. This can be used as an escape hatch if access to the underlying buffer of the stream reader is required.

🔧 Bug Fixes

  • A previous release did not allow `unsafeList.RemoveRange(unsafeList.Length, 0)` anymore, which could cause failures in many common algorithms. This has been fixed.
  • Made `SortJob.SegmentSort`, and `SortJob.SegmentSortMerge` public to allow generic job type registration.
  • `UnsafeList.RemoveAtSwapBack` could read invalid memory when the last element of the list is removed
  • Data elements in FixedList\ now respect natural alignment for the type T