Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.40f1
2021.3.12f1
2022.1.18f1
2022.2.0b10
2023.1.0a14
Issue ID
UUM-17174
Regression
No
NativeArray appears as disposed of when updating the safety handle of a list with the Add function
Steps to reproduce:
1. Open the user’s attached project
2. Open Window > General > Test Runner
3. In the Test Runner window switch to Edit Mode
4. Run the "MinRepro_TempListToTempArrayGetsInvalidated" test
Expected result: The test passes without any errors
Actual result: The test fails due to the “The Unity.Collections.NativeList`1\[System.Int32] has been deallocated, it is not allowed to access it“ error
Reproducible with: 2020.3.40f1, 2021.3.12f1, 2022.1.18f1, 2022.2.0b10, 2023.1.0a14
Reproducible on: Windows 10
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Spot Light with 'Box' Shape stops working when it collides with Mesh
- Accepting Asset Store EULA endless loop in Package Manager window
- “InvalidOperationException: Sequence contains no matching element“ error when reenabling a custom Debug Draw Mode
- Prefab that contains a layout group is marked as changed by the Editor when opened
- Emission animation does not appear when the "Emission Map" parameter is set to black in a Lit material
Resolution Note:
This is a known issue as described here:
https://docs.unity3d.com/Packages/com.unity.collections@2.1/manual/issues.html