[Bug Probability] UE4 Assertion Falied: index >= 0
Hi, I'm working on an unreal project which is mostly done in c ++ but when I give it play at some random part of time within it, the editor and the game shows an error which is not in my code. It seems that this is in the engine code which makes me doubt that it is my mistake or if the engine really has the problem. I leave the "Log" of the error:
Here Screen of the Crash Reporter:
Thanks in advance.
asked Mar 01 '18 at 03:52 AM in Bug Reports
Thats definitly not bug, you tried to get element from an Array, but that element and index isnt exist so it is invalid.. Check your array operations and always use "IndexIsValid(index)" before you do array operation, so you can avoid crashes..
Tip: because of callstack does not show any special c++ code from your game i guess some blueprint class / script try to get invalid index from an array...
If your source is c++ try to use windows debugger (f5 in vs) to get better callstack and with that you can identify which event was called before the assert..
answered Mar 01 '18 at 10:06 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here