Files
UnrealEngineUWP/Engine/Source/Runtime/RuntimeAssetCache
luke thatcher 5e183e05f0 Missing file from CL 10334591
Remove PlatformRequiresOptTextureData and rework how those fields are serialized to prevent crashes when loading cooked data in the editor.
 - An additional bit in the FTexturePlatformData next to the Cubemap bit is used to indicate whether the structure contains non-default OptData. Contents of the OptData field is only serialized when that bit is set.
 - Platforms which do no make use of OptData will automatically not have that data in their cooked byte stream, as the values will remain default. Platform that do set those values will have the data included and the bit set.

#rb Paul.Chipchase
#jira UE-84435
#lockdown nick.penwarden

#ROBOMERGE-SOURCE: CL 10335028 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10335038 by luke thatcher in Main branch]
2019-11-21 09:20:31 -05:00
..
2019-11-21 09:20:31 -05:00