Ill keep it simple on play, i have a widget animation that plays, the once its done, i use an open level node to open my next level 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!!
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.
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 sorry for wasting your time homie thank you so much for your input