Index out of bounds for array array_name.

Situation

You've entered a value for the array index that's larger than the array size. For instance, if an array component is referenced as Array[6] in a script but the array has a size of 5, the error will occur. Array_name is the name of the array field.

Solution

Use an array index within the upper bounds of the array field defined in the Field Definition window or in the local variable definition. Use the Names feature in the Script Editor window to be sure the array field is referenced properly.


Documentation Feedback