Topic: Index was outside the bounds of the array error when attacking

The characters have no problem jumping, walking, and crouching, but when I press button 1 to do a jab, it starts the animation, but then crashes and gives me the error:

"IndexOutOfRangeException: Index was outside the bounds of the array.
ControlsScript.ReadMove (UFE3D.MoveInfo move) (at <2c7de3e9be514d8ab00bd97d85e3b82a>:0)"

Any ideas on what I'm doing wrong? I've been messing with it all morning and can't get it working. Thanks!

Share

Thumbs up Thumbs down

Re: Index was outside the bounds of the array error when attacking

Any empty move slots in the character file? Any empty move slots in chain moves in a move file?

Share

Thumbs up +1 Thumbs down

Re: Index was outside the bounds of the array error when attacking

Nah, the character only has the light punch, and the chain move part of the move is empty. Here's some screenshots.

https://imgur.com/a/hVNSfI9

Share

Thumbs up Thumbs down

Re: Index was outside the bounds of the array error when attacking

Here's a vid of the crash in action if it helps at all

https://imgur.com/a/Ci3HQDt

Share

Thumbs up Thumbs down

5 (edited by FreedTerror 2021-06-04 19:29:41)

Re: Index was outside the bounds of the array error when attacking

Thanks for the pics and video. could you try putting that move on the ellen demo character? you could also try adding some of ellens moves to you character In your moves animation setting make sure you have it set to custom.

Click on the error and copy and paste what it says, it looks like you already copy and pasted what the error was in the OP?

Share

Thumbs up +1 Thumbs down