Files
UnrealEngineUWP/Engine/Source/Runtime/CoreUObject/Private/Serialization
paul chipchase 4a46a363b4 Allow Bulkdata2 to load data from archives that do not allow lazy loading.
- The use case is that the enterprise team want to be able to load .udsmesh files at runtime.
- If the archive has lazy loading disabled and the Bulkdata is inline OR in a different file then we don't need to treat the serialization any differently than when lazy loading is enabled.
- If lazy loading is disabled but the data is at the end of the current archive then we need to serialize the data immediately by seeking, serializing and then seeking back to the original position.
 - This is because we will not get another chance to load the data (if lazy loading is disabled then the life time of the archive is going to be limited)
- Unlike the old Bulkdata we avoid branching on the archive type and only implement the very specific behaviour we need
- This means that a nullptr linker is now a valid value so the assert has changed to an if statement
- Likewise, the filename being nulllptr is also expected so the assert has changed to an if statement.

#rnx
#rb none
#fyi Johan.Duparc

[CL 11103761 by paul chipchase in Dev-Core branch]
2020-01-24 04:26:26 -05:00
..