Search Issue Tracker
Won't Fix
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
- Crash on RaiseException when opening a specific project
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
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).