Search Issue Tracker
Fixed in 8.0.0-pre.5
Votes
0
Found in [Package]
7.0.2
Issue ID
1367509
Regression
No
SpriteShapeProfile Corners fields disappear when a field above has been deleted in the Inspector
How to reproduce:
1. Open the attached project (SpriteShapeProfileTest.zip)
2. In the Project window, in the Assets folder, select the Sprite Shape Profile
3. In the Inspector view, select one of the fields under Corners
4. Right-click the field and select "Delete Array Element" or press the Delete key
5. Observe the Console
Expected result: the selected field has been deleted but other fields remain intact, no errors are thrown to the Console
Actual result: other array fields below the deleted field disappear, "Retrieving array element that was out of bounds" and "NullReferenceException" errors are thrown
Reproducible with: 4.0.1 (2019.4.31f1), 5.1.5 (2020.3.21f1, 2021.1.26f1), 7.0.2 (2021.2.0b16, 2022.1.0a12)
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
- Distant Shadowmask does not cast Shadows on Terrain when baking with Adaptive Probe Volumes
- UI Toolkit Debugger "Text Overlays" dropdown is opened in the wrong position when Dynamic Atlas Viewer is opened
- NullReferenceExceptions are thrown on Editor launch when the Project window was locked in the previous project
- Render Pipeline Converter selected asset counter reports one fewer item when using manual selection
- [Android] [Adreno] [WebGL] A light cookie is not rendered with shader compile error when WebGL build is launched on a device with Adreno GPU
Resolution Note (fix version 8.0.0-pre.5):
Fix for this issue available on 2D Sprite Shape package 8.0.0-pre.5 in Unity 2022.2.0a2 and above
Resolution Note (fix version 8.0.0-pre.5):
Fixed in 2022.1.0b5