Can somone PLEASE explain what this error message means ? :D

Hey all!

Ill keep it simple :slight_smile: on play, i have a widget animation that plays, the once its done, i use an open level node to open my next level :smiley: but for SOME reason, at the end of my first widget animation, the engine crashes…and im thrown this error ’ Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:D:\build++UE5\Sync\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 771] Array index out of bounds: 1702257010 from an array of size 25231360’ doesn anyone know what the heck is going on please? thank youuuuu!! :slight_smile:

EDIT: it only happens in standalone mode, if i play the game in editor its fine

You are trying to access index inside of an array, that does not exist.

Example

StringArray = { One, Two, Three }

You are trying to take index 3 which does not exist (since first index is 0). Probably you are populatin array with some values, and then reading it, and that works in editor. But when you compile the game, lifecycle somewhat changes a bit since things take more time to load, and therefore you are trying to access the array index before the array was populated properly.

Full log would help a lot. This just shows end of stacktrace.

1 Like

soooo… i had 1 widget in a level, and once that finished, i loaded the next level, and started playing a widget there…before fading into the gameplay…i tried combining both widgets in the one level, then loading the next level…and it works fine…i have no idea :smiley: sorry for wasting your time homie :confused: thank you so much for your input :slight_smile:

1 Like

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