Files
UnrealEngineUWP/Engine/Source/Developer/TextureCompressor
luke thatcher 13bbcdb73a 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 10334591 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10334594 by luke thatcher in Main branch]
2019-11-21 08:53:37 -05:00
..