Search Issue Tracker

Fixed in 2.1.0-exp.4

Votes

1

Found in [Package]

1.1.0

Issue ID

1375111

Regression

No

ArgumentOutOfRangeException is thrown when using UnsafeList.InsertRangeWithBeginEnd

Package: Unity Native Collections

-

How to reproduce:
1. Open the attached project "UnsafeListInsert.zip"
2. Open "SampleScene" Scene
3. Enter Play mode
4. Open the Console window

Expected result: The result displayed in Console is 16
Actual result: ArgumentOutOfRangeException is thrown

Reproducible with: 0.12.0-preview.13, 1.1.0 (2020.3.26f1, 2021.2.8f1, 2022.1.0b4), 1.1.0 (2022.2.0a2)
Could not test with: 0.11.0-preview.17 and lower - UnsafeList.InsertRangeWithBeginEnd not implemented

Note: No errors are thrown in Player

  1. Resolution Note (fix version 2.1.0-exp.4):

    Fixed in: Collections 2.1.0-exp.4

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.