You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
This reverts the previous change that moved the render map allocation from CreateResources to Register -- here we move it back to CreateResources. This fixes the bug because it is allocating other arrays based on the total allocation size, after CreateResources and before Register, so if you don't allocate in CreateResources those arrays can be incorrect size. To fix the original bug that the allocation move was supposed to fix, I instead require that the number of Sections Created and Sections Registered are equal before running compaction, which guarantees that compaction will never remove entries that could still be in use. #rb jonathan.bard [CL 27903088 by chris tchou in ue5-main branch]