Search Issue Tracker
Fixed in 4.1.0-preview.5
Votes
0
Found in [Package]
4.0.2
Issue ID
1120311
Regression
Yes
[ProBuilder] IndexOutOfRangeException thrown when clicked on Subdivide Object many times
Creating a shape and clicking on "Subdivide Object" from ProBuilder Window more than 5 times, throws IndexOutOfRangeException
Note:
1. Refer attached video
2. Version 3.0.0, 3.0.1 of the package freezes when following the same steps (but it completes the process after a while). Does not throw IndexOutOfRangeException
3. Version 3.0.2, 3.0.3, 3.0.6, 3.0.8, 3.0.9 of the package has an issue regarding not being able to create a new shape: https://fogbugz.unity3d.com/f/cases/1106115/
Steps to reproduce:
1. Open Unity > Create a new Unity Project
2. Window > Package Manager > ProBuilder > Install
3. Tools > ProBuilder > ProBuilder Window
4. Click on "New Shape"
5. Click on "Subdivide Object" more than 5 (number may vary) times
Actual result:
IndexOutOfRangeException is thrown when subdividing the shape many times, and the shape looks black
Expected result:
"Subdivide Object" divides the shape without any errors thrown
Package versions reproducible in:
4.0.2
Package versions working fine:
3.0.1, 3.0.0
Environment:
Windows and Mac
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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Resolution Note (fix version 4.1.0-preview.5):
https://github.com/Unity-Technologies/com.unity.probuilder/pull/169