- Home /
Question by
Mentaner · Jan 23, 2017 at 11:41 PM ·
bug-perhapsclothskinned mesh rendererarray-out-of-range-except
Mesh.colors is out of bounds
When I click on "Edit Constraints" in the cloth properties nothing happens but when I select the Object it tells me:
Mesh.colors is out of bounds. The supplied array needs to be the same size as the Mesh.vertices array.
UnityEditor.ClothInspector:OnEnable()
IndexOutOfRangeException: Array index is out of range.
UnityEditor.ClothInspector.SetupSelectedMeshColors () (at C:/buildslave/unity/build/Editor/Mono/Inspector/ClothInspector.cs:356)
UnityEditor.ClothInspector.OnEnable () (at C:/buildslave/unity/build/Editor/Mono/Inspector/ClothInspector.cs:266)
This happens even with the standard Quat as Mesh in the Skinned Mesh Renderer properties.
Thank you!
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612105444im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Unity cloth 2017.3.0f3 slower than 2017.2.0f3? 0 Answers
IndexOutOfRangeException: Array index is out of range. 1 Answer
Skinned cloth tut 3 Answers
How to import clothes from blender? 0 Answers
Can't edit constraints 2 Answers