Commit Graph

711 Commits

Author SHA1 Message Date
Matt Peters
eabebce9c9 Remove accidentally submitted PRAGMA_DISABLE_OPTIMIZATION.
#rb None, trivial
#rnx
#preflight None, trivial

[CL 19726608 by Matt Peters in ue5-main branch]
2022-04-12 15:16:06 -04:00
Matt Peters
6457300943 LaunchEngineLoop: Move PRIVATE_GIsRunningCookCommandlet assignment earlier so that UE::AssetDataGather::Private::FPreloader can use it early on to start preloading.
Reduce duplication in LaunchEngineLoop of the assignment of the related variable PRIVATE_GIsRunningCommandlet, so that it is easier to verify that PRIVATE_GIsRunningCookCommandlet is set correctly.
#rb Josh.Adams
#rnx
#preflight 62559088cd5ed4dd0916725f

[CL 19721177 by Matt Peters in ue5-main branch]
2022-04-12 10:51:35 -04:00
serge bernier
cd78edb64a Fix InputLatency csv stats on some consoles. On certain platforms, cycle is 32 bits and gets shifted to avoid precision loss. If stats is using the 64 bits version, all other conversions must use the 64 bits version.
#rb mickael.gilabert

#ROBOMERGE-OWNER: serge.bernier
#ROBOMERGE-AUTHOR: serge.bernier
#ROBOMERGE-SOURCE: CL 19691434 via CL 19691454 via CL 19691529 via CL 19691544
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19694117 by serge bernier in ue5-main branch]
2022-04-08 16:27:51 -04:00
bob tellez
261cdbb217 [Backout] - CL19513265. No needed in modern UE5 code
[FYI] bob.tellez
Original CL Desc
-----------------------------------------------------------------
#UE Fix missing module in commandlets when loading assets referencing WorldPartitionHLODUtilities. This is fixed in a different way in UE5Main, so this is just a temp fix until we get newer code


#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 19513128 via CL 19564226 via CL 19564252
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19566409 by bob tellez in ue5-main branch]
2022-03-30 19:03:23 -04:00
bob tellez
6f72ad8202 #UE Fix missing module in commandlets when loading assets referencing WorldPartitionHLODUtilities. This is fixed in a different way in UE5Main, so this is just a temp fix until we get newer code
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 19513128 via CL 19513265 via CL 19513451
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v937-19513599)

[CL 19515868 by bob tellez in ue5-main branch]
2022-03-25 13:47:34 -04:00
PJ Kack
68e874156f LaunchEngineLoop: Fix deadlock on exit when launching the game or editor with the parameter -testexit=ExitPhrase.
Request a deferred engine shutdown instead of forcing it from the logging code which will deadlock on most or all platforms.
-testexit is used when BuildCookRun is launched with both -run and -unattended.

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 6239c9930820efd0949884b9

[CL 19465645 by PJ Kack in ue5-main branch]
2022-03-22 09:10:24 -04:00
Devin Doucette
01274b17c8 Logging: Added a dedicated master thread for logging
#preflight 622fb0eca709bd110fea0da5
#rb Zousar.Shaker

[CL 19387540 by Devin Doucette in ue5-main branch]
2022-03-15 12:31:55 -04:00
robomerge
e2fb673af2 Fixed crashes on launch of experimental device-specific mobile preview
#jira UE-142245
#rb Florin.Pascu
#preflight 621f781637049be517278a73
#lockdown jack.porter


#ROBOMERGE-AUTHOR: jack.porter
#ROBOMERGE-SOURCE: CL 19221437 via CL 19221489 via CL 19221493 via CL 19221512 via CL 19224753
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19229264 by robomerge in ue5-main branch]
2022-03-02 16:12:40 -05:00
steve robb
288f3de432 Fixes for the implicit conversion of ints and chars to TCHARs in UTF-8 mode.
#rb trivial
#preflight 621ed0b4e15c51d8c5e5d081

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19219816 via CL 19220283 via CL 19220288 via CL 19223679
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19227684 by steve robb in ue5-main branch]
2022-03-02 15:30:50 -05:00
PJ Kack
2d3e67b4e0 ZenCOTF: Make sure FStorageServerPlatformFile::InitializeAfterProjectFilePath is called before FStorageServerPlatformFile::GetFilenameOnDisk when setting the final project file path.
Required for platforms where forwarding the GetFilenameOnDisk call to the lower level filesystem will modify the path to a platform specific path.

#rb carlmagnus.nordin
#rnx
#preflight 621c82bac17bc6b9c8ee2f47

[CL 19171220 by PJ Kack in ue5-main branch]
2022-02-28 03:18:41 -05:00
steve robb
33c800a605 TEXT(""_SV) changed to TEXTVIEW("") for UTF-8 support.
#rb trivial

#ROBOMERGE-OWNER: steve.robb
#ROBOMERGE-AUTHOR: steve.robb
#ROBOMERGE-SOURCE: CL 19135062 via CL 19136099 via CL 19136620 via CL 19138526
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19155676 by steve robb in ue5-main branch]
2022-02-25 15:48:16 -05:00
ilya loshchinin
4b58a73582 Added support for using FramePro profiling scopes in MallocBinned2 allocator: added a separate memory allocator for FramePro, added support for TArrays to use a different base malloc, rather than FMemory.
#rb louisphilippe.seguin, robert.millar
#tests automatic and manual FramePro captures of Squads games on Linux in WSL2 and cloud hardware (m5.4)

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 19091015 via CL 19094278 via CL 19095759 via CL 19101834
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141844 by ilya loshchinin in ue5-main branch]
2022-02-25 00:09:54 -05:00
jamie dale
5dc28ed8c7 Fixed direct use of FGenericPlatformProcess rather than FPlatformProcess
#jira
#preflight 620c18604353dc61c7ff4ac7
#rb Arciel.Rekman
#rnx

#ROBOMERGE-AUTHOR: jamie.dale
#ROBOMERGE-SOURCE: CL 19015689 via CL 19017459 via CL 19017488 via CL 19017553 via CL 19031927
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v917-18934589)

[CL 19032154 by jamie dale in ue5-main branch]
2022-02-17 03:42:01 -05:00
Robb Surridge
65a3c1236d Move IntroTutorials to a plugin. Part 1: move code module and clean up references.
#jira 141830
#preflight 6202f3e4bd4f846436f1dfc6
#rb lauren.barnes

[CL 18920903 by Robb Surridge in ue5-main branch]
2022-02-09 13:00:06 -05:00
richard wallis
c13b410b24 Fix DumpGPU on macOS. Begin Resource Dump occurs in: FSlateApplication::Get().Tick(ESlateTickType::PlatformAndInput); which is after GEngine->Tick(FApp::GetDeltaTime(), bIdleMode);. Make the defered dump command request a GPU dump for the next frame by adding an InitDump function so it's clear for any platform when to begin. Could add 1 when setting the DumpingFrameCounter_GameThread but that seems brittle across platforms.
Allow more flexibility of the Metal RHICopyToResolveTarget to include compatable texture view pixelformats.  Fixes validation error when resolving between sRGB and RGB formats.

FMetalContext: don't assert then go into the weeds on macOS when there are no render targets.

#jira UE-140658,  UE-120222
#preflight  61fd124b2839dd07cb98d771
[REVIEW] [at]will.damon,  [at]Guillaume.Abadie
#rb will.damon,  Guillaume.Abadie
#lockdown cristina.riveron
#rnx

#ROBOMERGE-AUTHOR: richard.wallis
#ROBOMERGE-SOURCE: CL 18864871 in //UE5/Release-5.0/... via CL 18864881 via CL 18865081
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v910-18824042)

[CL 18865102 by richard wallis in ue5-main branch]
2022-02-04 12:01:46 -05:00
carlmagnus nordin
b49e6d13e2 Made Zen COTF API more private
#rnx
#rb pj.kack
#preflight 61f3c7e0da54035207f6c79f

#ROBOMERGE-AUTHOR: carlmagnus.nordin
#ROBOMERGE-SOURCE: CL 18770247 in //UE5/Release-5.0/... via CL 18770252 via CL 18770332
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18770334 by carlmagnus nordin in ue5-main branch]
2022-01-28 08:30:42 -05:00
jon cain
e51d41e3c0 Enable EmitDrawEvents by default when ProfileGPU is enabled, otherwise provide options to enable except in a shipping build to avoid oversights with release builds. Also remove EmitDrawEventsOnlyOnCommandList as it is unused.
#jira UE-104390
#rb Eric.McDaniel, Kenzo.Terelst, Mihnea.Balta
#preflight

#ROBOMERGE-AUTHOR: jon.cain
#ROBOMERGE-SOURCE: CL 18689973 in //UE5/Release-5.0/... via CL 18689985 via CL 18689999
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v903-18687472)

[CL 18690007 by jon cain in ue5-main branch]
2022-01-21 11:00:52 -05:00
jerome delattre
6cbe9c1dec Use FPlatformMisc::RequestExit when interpreting testexit
#jira UE-139288
#preflight 61e5d8b1a2616066f68e25fd
#rnx
#rb Patrick.Boutot

#ROBOMERGE-AUTHOR: jerome.delattre
#ROBOMERGE-SOURCE: CL 18661456 in //UE5/Release-5.0/... via CL 18661476 via CL 18661494
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18661524 by jerome delattre in ue5-main branch]
2022-01-19 13:45:41 -05:00
devin doucette
836757d1c2 DDC: Moved GDDCIOThreadPool out of Core
The DDC thread pool is a temporary workaround for issues with high-latency cache accesses happening on regular worker thread, which are reduced in number in 5.0 compared to 4.27. Moving it to be private within DDC will keep it easy to remove once the high-latency caches are accessed through an async API.

#rb Zousar.Shaker
#rnx
#preflight 61e5b194873f2ea48f3e0b02

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 18634975 in //UE5/Release-5.0/... via CL 18634980 via CL 18634997
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18637555 by devin doucette in ue5-main branch]
2022-01-18 04:45:24 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
markus breyer
c2daf9947a Added new Core delegate event FCoreDelegates::OnAllModuleLoadingPhasesComplete
- there's currently no clean way to execute something right after all modules have loaded via their official loading phases (after OnEnginePostInit still more modules get loaded so that is too early)

#rb ben.marsh, pj.kack
#preflight 61d4cb38db0309127dfe8c89

#ROBOMERGE-AUTHOR: markus.breyer
#ROBOMERGE-SOURCE: CL 18519975 via CL 18521667 via CL 18522220 via CL 18522339 via CL 18523513 via CL 18523540
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18523587 by markus breyer in ue5-release-engine-test branch]
2022-01-05 15:02:26 -05:00
ben woodhouse
133deadd0c Fix parsing of the -csvmetadata arg, so it doesn't stop on separators
Refactor csvExecCmds to move the initialization logic into the CSV profiler itself. The execution still needs to happen in the engine, but this is now done during normal frame processing.
Fix a bug when processing csv execcmds with colons, e.g file paths

#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 18442929 via CL 18442943 via CL 18442951 via CL 18445402 via CL 18445577
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18445604 by ben woodhouse in ue5-release-engine-test branch]
2021-12-13 13:48:53 -05:00
dave belanger
b99ae66858 Fix crash on first UEFN startup when the appdata directory doesn't exist
#rb Rex.Hill
#preflight 61afd961b12ed60581970759

#ROBOMERGE-AUTHOR: dave.belanger
#ROBOMERGE-SOURCE: CL 18402195 via CL 18402211 via CL 18402217 via CL 18402218 via CL 18434836 via CL 18437272
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18437329 by dave belanger in ue5-release-engine-test branch]
2021-12-10 20:34:07 -05:00
zousar shaker
0832797d28 Ensure that Zen ProjectIds are unique for projects with the same name in differing roots (or in the same root) while attempting to maintain some easily recognizable desriptors for the project.
Staged builds are explicitly assigned a project id via the persistent UECommandline.txt file.  This works on mobile/consoles, but isn't implemented for Windows/Linux/Mac, so staged builds for those platforms don't have a persistent assignment of project id and instead rely on the launch by the editor including the appropriate commandlines.
Unstaged builds on Windows/Mac/Linux now determine project id independently after they have determined the project file path.  This happens after the project file has been determined and has had case corrected.  This ensures it is different/unique for multiple blueprint projects that share the same executable.
Fix a bug where second cook in editor to zen would stall because the queue thinks all additions are finished due to a boolean that isn't reset.

#rb devin.doucette
#rb per.larsson
#preflight 61b39a35a2562c8b1c40f81e

#ROBOMERGE-AUTHOR: zousar.shaker
#ROBOMERGE-SOURCE: CL 18432317 in //UE5/Release-5.0/... via CL 18435404
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435895 by zousar shaker in ue5-release-engine-test branch]
2021-12-10 18:06:39 -05:00