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.
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
Why does the REMOVE method of map container remove elements have memory leaks?
How does TextureRenderTarget2D get TArray<uint8> type data?
What is the cause of the packaging error falling back to 'GameUserSettings' in ue5?
How do I set a material as a post-processing material?
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 |