Search Issue Tracker

Fixed in 2018.3.X

Votes

1

Found in

2018.1.0b13

Issue ID

1021683

Regression

No

Cloth - Prefab causes IndexOutOfRangeException in ClothInspector

Physics

-

Cloth - Prefab causes IndexOutOfRangeException in ClothInspector.
Selecting an object that is part of a prefrab casues the error

"IndexOutOfRangeException: Array index is out of range.
UnityEditor.ClothInspector.InitSelfAndInterCollisionSelection () (at C:/buildslave/unity/build/Editor/Mono/Inspector/ClothInspector.cs:429)
UnityEditor.ClothInspector.InitInspector () (at C:/buildslave/unity/build/Editor/Mono/Inspector/ClothInspector.cs:501)
UnityEditor.ClothInspector.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/ClothInspector.cs:514)"

Steps to reproduce.
1. Open attached project
2. Open the console (Window > Console)
3. Select project menu > Prefabs > Goal > Net
Notice issue >> IndexOutOfRangeException: Array index is out of range.

- Remove the Rigidbody component from "Net"
Notice issue >> IndexOutOfRangeException: Array index is out of range.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.