Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
1
Found in
2021.3.9f1
2022.1.16f1
2022.2.0b7
2023.1.0a10
Issue ID
UUM-14310
Regression
No
Player crashes when disposing of a NativeArray
Reproduction steps:
1. Open the attached project “IN-15295.zip”
2. Click Edit > Build And Run
3. Press “F” to engage in dialogue
4. Press “Space” repeatedly until the crash
Expected result: Build does not crash
Actual result: Build crashes
Reproducible with: 2021.3.9f1, 2022.1.16f1, 2022.2.0b7, 2023.1.0a10
Couldn't test with: 2020.3.38f1 (couldn’t downgrade because the scripts don’t support the older c# language version)
Reproducible on: Windows 10 Pro 21H2, MacOS 12.2.1 (Intel), macOS Monterey 12.5 (M1 Max), MacOS 12.5
Note: Lines 176-177 in “Assets/Scripts/UI/Dialog/DialogBubbleMeshSimulation.cs” causes the crash
Comments (1)
-
Mahdi-Jeddi
Sep 09, 2022 12:04
As working more on this issue, I think the condition in the StructureJob fails and makes the job system to write over the bounds of positions to velocities and corrupt it somehow. That's why it crashes when trying to dispose the velocities nativearray.
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
Resolution Note:
This would report safety error in editor. Disposing copy of NativeArray will crash when job debugger is not present (i.e. in the player build).
Resolution Note (2023.1.X):
This would report safety error in editor. Disposing copy of NativeArray will crash when job debugger is not present (i.e. in the player build).