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
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
- Different text alignment in the column header in Entities "System" window
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).