Search Issue Tracker
Fixed
Fixed in 9.0.5, 10.0.7
Votes
0
Found in [Package]
9.0.4
10.0.6
Issue ID
DANB-729
Regression
No
"System.IndexOutOfRangeException" is thrown when increasing Sprite Shape Mesh size beyond limits
Reproduction steps:
1. Open the attached “SSP_ArrayTest.zip” project
2. Open the “SampleScene” Scene (Assets > Scenes)
3. Select the “SSP” GameObject from the Hierarchy
4. In the Inspector, enable Edit Spline in the “Sprite Shape Controller” Component
5. Select left-most control point
6. Drag the X Position value slider far to the left
7. Observe the Console
Expected result: No exceptions are thrown
Actual result: “System.IndexOutOfRangeException: Trying to access beyond allowed size. 65536 is out of range of '65536' MaxSize.” exceptions are thrown
Reproducible with: 2021.3.41f1, 2022.3.40f1, 6000.0.13f1
Reproducible on: Windows 11
Not reproducible on: no other environment tested
Notes:
- If the error does not appear, move the slider right and left a few more times
- Error does not occur every time a control goes beyond limits, just when the control point goes over certain spots
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
- Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error
- [Search] Dragging query pills put them behind the search text field
- A CustomPropertyDrawer that returns a PropertyField for a property named the same as a child field will not render all child fields
- Graphics Settings shows default values instead of the real values in the Rendering Debugger when Volume.profile is assigned via script
- Deleting multiple Tags throws “NullReferenceException”, and "Retrieving array element that was out of bounds" errors when holding the Enter key
Resolution Note (fix version 10.0.7):
Fix for this issue is available on 2D Spriteshape package 10.0.7 and above
Resolution Note (fix version 9.0.5):
Fix for this issue is available on 2D Spriteshape package 9.0.5 and above