Weird Array index out of bounds error causing crash

Hello,

So I am working on a project and Unreal kind of crashes randomly. Sometimes it will just crash all day it seems and others it is not so bad. Anyway, I was looking through the text files and it says I have a bunch of dlls missing. But, I don’t think this is the root of the problem just a symptom. I’m not a big into looking into these crash files but, I opened up the xml file and it showed there was one error message. It reads:

Assertion failed: (Index
>= 0) & (Index < ArrayNum)
[File:d:\build++ue4+release-4.19+compile\sync\engine\source\runtime\core\public\Containers/ Array.h]
[Line: 610] Array index out of bounds:
0 from an array of size
0

I can post the crash logs as well if someone believes they are necessary. But if anyone can help me out with this, it is really quite annoying. It mostly crashes when opening up a level or opening up a file that I have checked out of perforce.

The error I get from the log is (GetLastError=126)

It seems one of my files was corrupted. Not sure how this happened to only my computer seeing as though I am on a team using Perforce. I kept going back in revisions until Unreal no longer crashed and determined the corrupted file from there. I simply got latest and checked out the file when it wasn’t corrupted and replaced it with the latest one. I’m assuming this is an Unreal bug mostly considering none of my colleagues had the same problem. Its kind of frustrating that a file can just corrupt itself on a system but not on the depot. Doesn’t make sense to me. But problem solved.