Commit Graph

5 Commits

Author SHA1 Message Date
joe pribele
9571d4eec5 [AssetRegistry] changed TryGetAssetByObjectPath to use FSoftObjectPath to match the rest of the API
#rb zousar.shaker
#preflight 63376f4d0d2b0d7bd8ce92c1

[CL 22283581 by joe pribele in ue5-main branch]
2022-09-30 19:00:07 -04:00
joe pribele
3db3104b1c [AssetRegistry] added two new methods TryGetAssetByObjectPath and TryGetAssetPackageData to allow lazy load to be able to accurately validate that objects and paths exist
otherwise an unresolve `TObjectPtr` could resolve to nullptr causing determinism issues

#rb matt.peters zousar.shaker
#rnx
#preflight 6335c8cb5c2225fe5f12a7d6

[CL 22263392 by joe pribele in ue5-main branch]
2022-09-30 00:54:16 -04:00
joe pribele
0b82102f66 [Core] changes to make lazyloadimports performant
changed lazy load back to looking at meta data to decide which types are lazyloaded
removed callback that handles lazyload can add back in the future if needed
only imports that marked as lazy are skipped. verifyimports still resolves other imports
skipping all imports causes performance problems because PackageLoadInternal is called many more times then necessary

#rb zousar.shaker
#p4v-preflight-copy 21567032
#preflight 6307d7753042e94f9f642a6d

[CL 21571620 by joe pribele in ue5-main branch]
2022-08-25 16:26:05 -04:00
robert millar
fb932b1cdb [KillPendingKill] Remove renamed packages and their exports from the async loading thread's caches.
#rb pj.kack

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 21060094 via CL 21060128 via CL 21060415 via CL 21060535
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21078246 by robert millar in ue5-main branch]
2022-07-13 15:37:02 -04:00
Zousar Shaker
501acd133c Change how lazy load is configured to allow it to be driven by callback instead of by metadata. Added a callback from CookOnTheFlyServer to allow it to lazy load references to packages it doesn't intend to save (ie: iteratively skipped packages). This is only effective when cooking in a commandlet (not in editor).
#rb matt.peters
#preflight 625dabdbd412434587aa0b8d

[CL 19791002 by Zousar Shaker in ue5-main branch]
2022-04-18 14:35:51 -04:00