Commit Graph

57 Commits

Author SHA1 Message Date
Patrick Enfedaque
aca2ccef34 WorldPartition: Use UWorld::IsPartitionedWorld instead of HasSubsystem<UWorldPartitionSubsystem> (prepare for subsystem always existing)
#rb richard.malo, jeanfrancois.dube
#preflight 6214e114a97c2c3348cb166d
#rnx

[CL 19071881 by Patrick Enfedaque in ue5-main branch]
2022-02-22 08:54:19 -05:00
matt peters
76722cbb5c #jira UE-133730
Add PackageAccessTrackingOps::NAME_CookerBuildObject to catch references to other packages that are made from an object's BeginCacheForCookedPlatformData call.
#rb Zousar.Shaker
#rnx

#ROBOMERGE-AUTHOR: matt.peters
#ROBOMERGE-SOURCE: CL 18279388 in //UE5/Release-5.0/... via CL 18279398
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18279406 by matt peters in ue5-release-engine-test branch]
2021-11-23 21:16:10 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00
aurel cordonnier
a12d56ff31 Merge from Release-Engine-Staging @ 17791557 to Release-Engine-Test
This represents UE4/Main @17774255, Release-5.0 @17791557 and Dev-PerfTest @17789485

[CL 17794212 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-12 21:21:22 -04:00
robert millar
cac0d5dbd9 Push soft references onto the queue of packages to be processed rather than dealing with them immediately. This vastly reduces peak memory usage e.g. in levels with soft references to many streamed sublevels.
#rb Matt.Peters

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 17670090 via CL 17670131 via CL 17670137 via CL 17670141 via CL 17670157
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v875-17642767)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 17670162 by robert millar in ue5-release-engine-test branch]
2021-09-29 19:44:23 -04:00
alexey-pelykh
6d1e19793e Don't remove unprocessed packages prematurely on DDC fill commandlet
This fix is a slightly modified version of PR #8248  (Contributed by alexey-pelykh)
Can be reproed with QAGame -run=DerivedDataCache -fill

#rnx
#rb Francis.Hurteau
#preflight 6101482c4cd79300018b738b

#ROBOMERGE-SOURCE: CL 16982467 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16982470 by alexey-pelykh in ue5-release-engine-test branch]
2021-07-28 10:53:45 -04:00
jeanfrancois dube
9f0ea8bb93 Properly detect invalid actor files, which can happen when force deleting a Blueprint class.
- WorldPartitionResaveActorsBuilder: detect and delete invalid actor files.
- DerivedDataCacheCommandlet: don't crash when encountering an invalid actor file.

#rb sebastien.lussier

#ROBOMERGE-SOURCE: CL 16836463 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v836-16769935)

[CL 16836475 by jeanfrancois dube in ue5-release-engine-test branch]
2021-07-13 09:19:39 -04:00
danny couture
4be0185d91 Optimize the ddc fill job
- Avoid redundant iterations and processing of UPackages by implementing a listener instead
  - Process many packages asynchronously (not just one) by keeping them in memory longer and finishing them later
  - Make the ddc fill job wait for async tasks properly
  - Fix texture always being single threaded by allowing async at all time for ddc fill jobs
  - Avoid calling IsCachedCookedPlatformDataLoaded too often on objects still being compiled
  - Use a more sensible max memory usage in WorldPartitionHelpers to avoid calling the GC too often

  - 30m16s to 7m44s when running -run=DerivedDataCache -fill -map=P_Construct_WP -mapsonly -projectonly with hot cache
  - 2h30m to 1h11s when running -run=DerivedDataCache -fill -map=P_Construct_WP -mapsonly -projectonly with cold cache

#rb Zousar.Shaker, Devin.Doucette
#preflight 60d1fd5571002f0001b8880e

#ROBOMERGE-SOURCE: CL 16745009 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v835-16672529)

[CL 16745019 by danny couture in ue5-release-engine-test branch]
2021-06-22 12:50:30 -04:00
sebastien lussier
c9161604ad Switched a few world teardown to use UWorld::DestroyWorld()
#rb jeanfrancois.dube

#ROBOMERGE-SOURCE: CL 16484066 in //UE5/Private-Frosty/...
#ROBOMERGE-BOT: STARSHIP (Private-Frosty -> Main) (v823-16466674)

[CL 16484327 by sebastien lussier in ue5-main branch]
2021-05-27 10:31:55 -04:00
Sebastien Lussier
ee9d6e9f50 Removed LevelInstanceSubsystem ShouldLoadInstancesOnRegistration() / SetLoadInstancesOnRegistration()
Tested using internal demo in PIE, standalone game and a cooked game
#rb patrick.enfedaque

[CL 16194818 by Sebastien Lussier in ue5-main branch]
2021-05-04 12:03:13 -04:00
Sebastien Lussier
785ee92fee DerivedDataCacheCommandlet - Ensure all WP actors are processed
* Moved world setup from commandlet code to UWorldPartitionBuilder::RunBuilder()
* Moved actor iteration logic (reference loading + GC) from UWorldPartitionResaveActorsBuilder::RunInternal() to WorldPartition::ForEachActorWithLoading()
* Adjusted DerivedDataCacheCommandlet to (potentially) iterate on WP actors using UWorldPartitionActorsBuilder::ForEachActorWithLoading()
* Much faster processing of packages with no assets to cache (most ExternalActors packages)
#jira UE-114260
#rb patrick.enfedaque, jeanfrancois.dube

[CL 16157420 by Sebastien Lussier in ue5-main branch]
2021-04-29 10:57:07 -04:00
arciel rekman
6ae436afb1 Do not write the global shadermap to DDC until it's complete (UE-108245).
#rb Jason.Nadro, Ben.Ingram
[REVIEW] [at]Jason.Nadro, [at]Ben.Ingram
#lockdown Kevin.Ortegren
#jira UE-108245

#ROBOMERGE-SOURCE: CL 15955360 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v787-15839533)

[CL 15971519 by arciel rekman in ue5-main branch]
2021-04-10 10:04:56 -04:00
arciel rekman
26b51c30c8 Fix DerivedDataCache commandlet getting stuck.
- DDC commandlet used number of outstanding jobs as a criterium to pump the compiler. This is not correct as there may be no outstanding jobs but the shadermaps aren't yet finalized.
- Another issue was FShaderCompilingManager::IsCompiling() also not being watertight and able to return false when there is known outstanding work. Thi can possibly fix more problems than the DDC commandlet (cooking as well).

#rb none
[CODEREVIEW] Matt.Peters, Ben.Ingram, Jason.Nadro
#jira none

#ROBOMERGE-SOURCE: CL 15908495 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15908505 by arciel rekman in ue5-main branch]
2021-04-03 02:11:01 -04:00
Matt Peters
e78ec800a5 DerivedDataCacheCommandlet: Bump DDCCommandletMaxWaitSeconds to 10 minutes and make it configurable.
@fyi Arciel.Rekman, Devin.Doucette
#rb None, build support
#rnx

[CL 15904106 by Matt Peters in ue5-main branch]
2021-04-02 14:56:39 -04:00
Matt Peters
00399b82b7 #jira UE-101651
#jira UE-108245
Change the DerivedDataCacheCommandlet to wait on all objects to return true for IsCachedCookedPlatformDataLoaded before moving on.
Change the loops over objects and packages to be faster and to not add packages as processed if we didn't handle them in the BeginCache loop.
#rnx
#rb Devin.Doucette

[CL 15876400 by Matt Peters in ue5-main branch]
2021-03-31 12:08:27 -04:00
mark lintott
3e356a65ae Fix for unity build. Temporarily fixed StringConv.h until Devin can make a proper fix.
#jira UE-109229
#rb trivial
#fyi devin.doucette

[CL 15625836 by mark lintott in ue5-main branch]
2021-03-05 12:36:07 -04:00
Jeff Farris
0b5357c82b Updated DerivedDataCache commandlet to accept -MapIniSection commandline parameter (like the cooker does)
(preflight was green but submission failed)

#rb devin.doucette

[CL 15531871 by Jeff Farris in ue5-main branch]
2021-02-25 15:07:57 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Marcus Wassmer
3b81cf8201 Merging using //UE5/Main_to_//UE5/Release-Engine-Staging @14384769
autoresolved files
#rb none

[CL 14384911 by Marcus Wassmer in ue5-main branch]
2020-09-24 00:43:27 -04:00
Michal Valient
95d19f95b1 [REVERB] Merging //UE4/Private-Reverb-Development@13832732
#rb graham.wihlidal, rune.stubbe, brian.karis, andrew.lauritzen, jeff.farris

[CL 13834854 by Michal Valient in ue5-main branch]
2020-07-06 18:58:26 -04:00
ryan durand
627baf970a Updating copyright for Engine Editor.
#rnx
#rb none


#ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870586 by ryan durand in Main branch]
2019-12-26 15:33:43 -05:00
Stefan Boberg
8607ecb30d Copying //UE4/Dev-Core to Dev-Main (//UE4/Dev-Main)
#rb none

[CL 6815521 by Stefan Boberg in Main branch]
2019-06-03 15:32:00 -04:00
Robert Manuszewski
2752c82adc Merging //UE4/Dev-Main @ 4664414 to Dev-Core (//UE4/Dev-Core)
#rb none

[CL 4675693 by Robert Manuszewski in Dev-Core branch]
2019-01-02 00:55:51 -05:00
Ben Marsh
7598af0532 Update copyright notices to 2019.
#rb none
#lockdown Nick.Penwarden

[CL 4662404 by Ben Marsh in Main branch]
2018-12-14 13:41:00 -05:00