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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note:
This is a known issue as described here:
https://docs.unity3d.com/Packages/com.unity.collections@2.1/manual/issues.html