A user pointed out a potential to have an index out of range error in the source code.
There are also a few magic numbers scattered around in this function.
RESULT:
The if statement if( Ar.IsLoading() && Ar.UE4Ver() < VER_UE4_LOW_QUALITY_DIRECTIONAL_LIGHTMAPS ) contains a for loop that loops three times, but the Texture array contained in the loop only has two elements. On the third loop, the texture array may try to reference a non-existing element.
EXPECTED:
No out of range condition exists.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.6.1, 4.8 |
Target Fix | 4.7 |
Created | Dec 30, 2014 |
---|---|
Resolved | Jan 7, 2015 |
Updated | Apr 27, 2018 |