You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb Per.Larsson #jira UE-170012 #rnx #preflight 63724fa79e3bea8079f2ed76 - The original for loop was added at a time where FCompressedBuffer did not support serialization directly, at that time the code worked. - Now it looks like the FCompressedBuffer returned by the call to ::GetPayload is going out of scope early, which means that the FSharedBuffer ends up zero length (and quite possibly unsafe to use) - However nowadays FCompressedBuffer has both a operator<< and direct ::Load/::Save methods so we can remove the for loop and simplify the code. [CL 23133173 by paul chipchase in ue5-main branch]