Attempted to access index from array of length 49 but the array is length 51

Hi there,

Got the error that often pops up, but this time it’s different.

Attempted to access index 49 from array AffixStats of array with length 49.

But I’m sure the array I’m calling has length 50 so I’m not sure what’s going on.

I’ve tried restarting project, refreshed all nodes on involved blueprints but nothing works.

Probably the array gets resized somewhere, I don’t know, any help with this would be greatly appreciated!

thanks in advance!

Attached screenshots.


Fixed it.

The last two affix stats I added did not get through. Somehow the array did not update and it had something to do with the savegame.

I removed savegame folder from gameproject directory/saved/

It’s weird cause I have a button in my main menu implemented that resets my account and thus the savegame files where the array is stored but that didn’t do it, only removing all savegame files manually from explorer.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.