Index was outside the bounds of the array.

IndexOutOfRangeException: Index was outside the bounds of the array.
Ground.Update () (at Assets/Script/Ground.cs:30)

help me guys~~
what can I do ?
and also is this related to the collision problem? ;((

5987636--643769--Ground.cs (1.11 KB)

Always better to post your code in the forums using code tags. Otherwise, the error is on line 30, so you just need to see what collections you're trying to access on line 30 and see what index you are trying to access that don't actually exist.

I didn't know because it was my first question in the unity forums.
Thank you for your andwer. I'll try ;))