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
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
This is a known issue as described here:
https://docs.unity3d.com/Packages/com.unity.collections@2.1/manual/issues.html