Files
UnrealEngineUWP/Engine/Source/Editor
paul chipchase d0a0aa3fd4 Fix a bug causing editor bulkdata to attempt to both reference the payload in the workspace domain as well as writing out its payload to the editor domain.
#rb none
#jira UE-159866
#rnx
#preflight 62d6930f164251d065d64113

- During 21147257 one of the checks to disable payload writing, that was calling ::IsReferencingByPackagePath was changed to checking the EFlags::ReferencesLegacyFile flag directly, which meant we were no longer taking referencing payloads from the workspace domain into account.
-- This was due to the CL being an attempt to merge 20965910 (which only checked the flag) with UE5 code (which called ::IsReferencingByPackagePath due to better editor domain support)
- This would cause the payload to be both referenced and written out into the editor domain, so on load we would end up with a flag telling the bulkdata to load from the original workspace domain file BUT the offset would reference where in the editor domain the payload was written out too.
-- This would only affect older versions of the package, newer versions would continue to use the package trailer to find the correct offet to use when referencing.
- This change requires that we change the EditorDomainVersion to clear out anything people might have saved with the incorrect info.

#ushell-cherrypick of 21169892 by paul.chipchase

[CL 21173890 by paul chipchase in ue5-main branch]
2022-07-20 02:45:17 -04:00
..
2022-07-01 10:59:18 -04:00
2022-07-17 22:45:06 -04:00
2022-07-06 15:11:16 -04:00
2022-07-17 22:45:06 -04:00
2022-07-17 22:45:06 -04:00
2022-07-11 12:04:12 -04:00
2022-07-13 15:52:36 -04:00
2022-07-12 11:18:47 -04:00