The specific exception is "IndexOutOfRangeException: Index was outside the bounds of the array."
The problem is entirely contained in DFU code, but I suspect the cause might be mod related. Probably custom enemies or some graphics mod.
It could be a lot of arrays that have out-of-bounds... The MobileUnit summary has StateAnims, RecordSizes, ImportedTextures with Albedo and EmissionMaps, AtlasRects
Because of the random nature of this issue, I'd like to remedy this with proper sanitization and logs first. A verbose log is probably better than throwing an exception every frame. After that, I can know what exactly is invalid and fix the real issue later
Users are experiencing frequent errors with the following callstack.
The specific exception is "IndexOutOfRangeException: Index was outside the bounds of the array."
The problem is entirely contained in DFU code, but I suspect the cause might be mod related. Probably custom enemies or some graphics mod.
It could be a lot of arrays that have out-of-bounds... The MobileUnit summary has
StateAnims
,RecordSizes
,ImportedTextures
withAlbedo
andEmissionMaps
,AtlasRects
Because of the random nature of this issue, I'd like to remedy this with proper sanitization and logs first. A verbose log is probably better than throwing an exception every frame. After that, I can know what exactly is invalid and fix the real issue later