francis hurteau
a96e460059
Fix Cooking with DiffOnly while diffing both cooked and optional data
...
Added cmdline arg to compare or not optional data
#rb Matt.Peters
#preflight 64385c2a0a5a4b944e04c821
[CL 25049459 by francis hurteau in ue5-main branch]
2023-04-14 16:40:23 -04:00
francis hurteau
34e2780927
ZenLoader: Only finish loading packages that are part of the current sync load context and when flushing a specific request only call completion callbacks for the requested package
...
On behalf of CarlMagnus.Nordin
#rb PJ.Kack, Danny.Couture
#preflight 6436f79cf12d5de70581a2f8
[CL 25026102 by francis hurteau in ue5-main branch]
2023-04-13 11:17:16 -04:00
pj kack
37a4002459
AsyncLoading2: Fix race crash in FAsyncLoadEventQueue2::UpdatePackagePriority on GT reading ExportBundleNodes data while it was being created by ALT in FAsyncLoadingThread2::FinishInitializeAsyncPackage.
...
Fallout from 24832537 that introduced FinishInitializeAsyncPackage and two-phased package initialization.
In FAsyncLoadingThread2::UpdatePackagePriority only try to reprioritize a package in the MainThreadEventQueue queue if the ALT processing is done and the package is supposed to be in the MainThreadEventQueue.
#jira UE-175511, FORT-588186, FORT-588255, FORT-588262, FORT-588379
#rb per.larsson
#rnx
#preflight 6437a4640c4277fc0b0087d9
[CL 25022190 by pj kack in ue5-main branch]
2023-04-13 05:26:19 -04:00
francis hurteau
d1b3724d2b
ZenLoader in editor: Propagate load flags to the linker and set PKG_ForDiffing also for async loads.
...
On behalf of CarlMagnus.Nordin
#rb PJ.Kack, Danny.Couture
#preflight 64341ddd7536ac6b788ef998
[CL 24992235 by francis hurteau in ue5-main branch]
2023-04-11 11:45:53 -04:00
carlmagnus nordin
ecfc01c258
ZenLoader: Include preload dependencies in package headers instead of relying on predetermined export bundle dependencies. This means that each package can be treated in isolation when staging. Also removes the need to keep track of export and bundle counts in the package store which saves some memory.
...
#preflight 642e8838441e8b2f5506dbb4
#rb pk.kack,per.larsson,francis.hurteau
[CL 24944233 by carlmagnus nordin in ue5-main branch]
2023-04-06 10:50:30 -04:00
carlmagnus nordin
0d2f0f0d86
ZenLoader: Rework package dependency waiting logic to prevent getting stuck waiting for a package outside of the current sync load context and also make all packages be processed leaf first once the required state is reached
...
#preflight 642d14821d19c0312a024b92
#rb pj.kack
#rnx
[CL 24928747 by carlmagnus nordin in ue5-main branch]
2023-04-05 11:20:18 -04:00
carlmagnus nordin
4440bc0954
ZenLoader in editor:
...
Fixed issue with sync load context not being propagated correctly when merging postload groups
Fixed crash caused by a package recursively being completed while it was processed as an imported package
#rb pj.kack
#preflight 642c23a8f376ab43d2711832
#rnx
[CL 24912874 by carlmagnus nordin in ue5-main branch]
2023-04-04 12:41:29 -04:00
carlmagnus nordin
462cc2a438
IoStore: Include imported package names in the header data. This removes the need to keep track of uncooked packages in the package store for editor builds.
...
#rnx
#rb pj.kack
#preflight 64256a01b01a25d6a044758d
[CL 24869323 by carlmagnus nordin in ue5-main branch]
2023-03-31 07:20:51 -04:00
carlmagnus nordin
376d5ef367
ZenLoader in editor: Fixed issue where imports could fail to resolve after the owning linker had been detached
...
#preflight 6426695ec463fac9c84d829d
#rb francis.hurteau
#rnx
[CL 24868625 by carlmagnus nordin in ue5-main branch]
2023-03-31 05:09:28 -04:00
pj kack
93744a5c65
AsyncLoading2: Reset the ImportedAsyncPackages member array before releasing the async package references.
...
Fix rare check failure when HaveAllDependenciesReachedStateDebug returns false due to reading a stale package pointer.
#rb carlmagnus.nordin
#rnx
#preflight 6423f10a974dfaa53c3a51d6
[CL 24833257 by pj kack in ue5-main branch]
2023-03-29 05:59:39 -04:00
carlmagnus nordin
f663db1c30
IoStore/ZenLoader: Some cleanup to facilitate future changes
...
#preflight 6423d8b2973e60967061727a
#rb pj.kack
#rnx
[CL 24832834 by carlmagnus nordin in ue5-main branch]
2023-03-29 04:40:20 -04:00
devin doucette
72f0249b95
Replaced uses of FLazyEvent with FManualResetEvent
...
#rb none
#rnx
[CL 24810985 by devin doucette in ue5-main branch]
2023-03-27 18:26:53 -04:00
nick edwards
b8198e0f65
Move FArchiveStackTraceWriter's default destructor to be implemented in the .cpp to allow ArchiveStackTrace.h to compile.
...
#preflight skipped
#rb none
#jira none
[CL 24801299 by nick edwards in ue5-main branch]
2023-03-27 08:29:14 -04:00
carlmagnus nordin
9d01a93627
ZenLoader: Use the same package dependency waiting logic for cooked and uncooked packages, i.e. always wait for all dependencies of a package to have processed their headers before starting to process its exports
...
#preflight 641d3fcab72410fc17671387
#rb pj.kack
#rnx
[CL 24799917 by carlmagnus nordin in ue5-main branch]
2023-03-27 02:19:40 -04:00
francis hurteau
fb2d02a7ec
Fix for recursive async loading in legacy loader
...
Do not reset load indices in FinishObjects
#preflight 641dc0b1c44ce895fca3c343
[CL 24783506 by francis hurteau in ue5-main branch]
2023-03-24 14:10:04 -04:00
francis hurteau
01e94b96cd
Adjust SetLinker error message to be more accurate
...
Move the flush of the reinstancing queue back from the post load node to the end of game thread tick or flush for zenloader
#rb Danny.Couture, CarlMagnus.Nordin
#preflight 641c6d14c42c7fd1cb4ea32a
[CL 24780901 by francis hurteau in ue5-main branch]
2023-03-24 12:21:33 -04:00
devin doucette
f52cece901
Reverted the conversion of FLazyEvent to FManualResetEvent while investigating an issue
...
#rb none
#rnx
[CL 24763649 by devin doucette in ue5-main branch]
2023-03-23 12:35:09 -04:00
devin doucette
eef7210574
Replaced uses of FLazyEvent with FManualResetEvent
...
#rb none
#rnx
[CL 24756523 by devin doucette in ue5-main branch]
2023-03-22 19:47:26 -04:00
devin doucette
18dfce3eca
Added FManualResetEvent
...
This is a one-byte manual-reset event that can replace that use case for the experimental FLazyEvent.
#rb Zousar.Shaker
[CL 24756514 by devin doucette in ue5-main branch]
2023-03-22 19:47:06 -04:00
danny couture
34ad604106
Fix race and typo in EditorBulkData trace counters
...
#rnx
#rb Paul.Chipchase
#preflight trivial
[CL 24745836 by danny couture in ue5-main branch]
2023-03-22 08:02:22 -04:00
Johan Berg
8658efadb7
Improve asset metadata tracking by accurately using object names
...
#rb ionut.matasaru, ari.arnbjornsson
#jira UE-157322
#preflight 6419c1ca37382f6bf5a394f0
[CL 24732308 by Johan Berg in ue5-main branch]
2023-03-21 11:00:32 -04:00
carlmagnus nordin
38943a946a
ZenLoader: Downgraded a couple of warnings to display
...
#preflight 64140459691c5ebc156e9b84
#rb none
#rnx
[CL 24685661 by carlmagnus nordin in ue5-main branch]
2023-03-17 04:20:30 -04:00
carlmagnus nordin
8a3adb40ab
ZenLoader in editor: Add support for package core redirects
...
#preflight 64131f1df81cce1dd8d0e15c
#rb francis.hurteau
#rnx
[CL 24685485 by carlmagnus nordin in ue5-main branch]
2023-03-17 03:01:36 -04:00
carlmagnus nordin
06b0f57308
ZenLoader in editor: Fixed imports from redirected outers sometimes not being resolved correctly
...
#preflight 6412f95c717662d507cfd28e
#rb francis.hurteau
#rnx
[CL 24672154 by carlmagnus nordin in ue5-main branch]
2023-03-16 11:46:54 -04:00
francis hurteau
ad410254ec
Add a -nozenloader option to disable the loader, takes priority over other method of enabling zenloader if present
...
#rb PJ.Kack
#preflight 6410e69fc41a0a2a7758c410
[CL 24659822 by francis hurteau in ue5-main branch]
2023-03-15 14:52:40 -04:00