Commit Graph

705 Commits

Author SHA1 Message Date
geoff evans
644c5ee9c1 Check GIgnoreDebugger for assert system debug break
Add command line arg to set GIgnoreDebugger
Remove GIgnoreDebugger from UE_BUILD_SHIPPING
Fix up naming convention and deprecate _DebugBreakAndPromptForRemote

=== Notes ===

Sometimes it's useful to run a process with a debugger attached, but knowing you get the same behavior as if it weren't, including how the assert system behaves

Such situations include:
* Tight timing of assert and exceptions in different threads
* When rarely reproducable ensure()s fire before or between breakpoints set in the debugger

=== Hashtags ===

#jira none
#rb steve.robb
#preflight 6182e64d924922000186366e

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 18045343 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v885-17909292)

[CL 18045348 by geoff evans in ue5-release-engine-test branch]
2021-11-03 22:09:49 -04: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
aurel cordonnier
69fe095547 Merge from Release-Engine-Staging @ 17636544 to Release-Engine-Test
This represents UE4/Main @17638339 and Dev-PerfTest @17636504

[CL 17638842 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-27 19:54:25 -04:00
devin doucette
7f300d6125 DerivedData: Added a prototype of FDerivedData
Serialization and the FBuildDefinition type of derived data have not been implemented yet. This version is functional in the editor when used with buffers or unstructured cache keys.

#rb Zousar.Shaker
#preflight 614cdb35c2ef060001f6425b

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 17614269 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17614332 by devin doucette in ue5-release-engine-test branch]
2021-09-23 17:31:21 -04:00
devin doucette
b611884c48 IoDispatcher: Always initialize IoDispatcher
Only return true from FIoDispatcher::IsInitialized() when the script objects chunk exists to keep its behavior consistent. Later, this function will be deprecated in favor of a function on IAsyncPackageLoader.

#rb Zousar.Shaker
[FYI] CarlMagnus.Nordin
#preflight 614541e1bf494a0001bd76bc

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 17570905 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v871-17566257)

[CL 17570916 by devin doucette in ue5-release-engine-test branch]
2021-09-20 11:00:30 -04:00
pj kack
1b5d14716c Delete obsolete and unused CookedIterativeFile module
#rb per.larsson
#rnx
#preflight 6142fe35568b3a000112c145

#ROBOMERGE-AUTHOR: pj.kack
#ROBOMERGE-SOURCE: CL 17535748 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17535754 by pj kack in ue5-release-engine-test branch]
2021-09-16 05:27:21 -04:00
geoff evans
b353e75c60 FApp::HasFocus() API to unify checking focus state
This is a defensive change to more uniformly gate conditions of various pathways that want to "nice" CPU consumption when the application is not the foreground application (doesn't "Have Focus"). In benchmarking scenarios we don't want a focus-grabbing application to cause change in behavior while taking performance measurements. This could be in local workstation benchmarking where other foreground apps will naturally come to the front or in data center build where antics that might otherwise be completely unknowable could impact benchmark measurements.

This change was formulated after finding some "nice" CPU conditionals that were instrumented, but not all of them are. This change aims to prevent having to instrument, profile, and mitigate each condition separately.

#rnx
#jira none
#rb francis.hurteau, brandon.schaefer
#preflight 611ec9248ff55400018d5018

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 17463345 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v870-17433530)

[CL 17463757 by geoff evans in ue5-release-engine-test branch]
2021-09-08 16:59:42 -04:00
aurel cordonnier
7f517562d5 Merge from Release-Engine-Staging @ 17438845 to Release-Engine-Test
This represents UE4/Main @17430120 and Dev-PerfTest @17437669

[CL 17439044 by aurel cordonnier in ue5-release-engine-test branch]
2021-09-06 12:23:53 -04:00
nuno leiria
439b0295e0 Set the project name at an earlier point.
This fixes blueprint projects not booting on platforms that set LLM_AUTO_ENABLE=1.

This was the sequence of events that led to the problem:
FLowLevelMemTracker::Get().ProcessCommandLine(CmdLine) triggers a call to FGenericPlatformMisc::ProjectDir() too early, before FPaths::IsProjectFilePathSet(). ProjectDir() ends up as ../../../engine/ instead of e.g. ../../../tp_firstperson/. This only happens for blueprint projects because code projects set GInternalProjectName and ProjectDir() follows a different path if FApp::HasProjectName().
In contrast, platforms that set LLM_AUTO_ENABLE=0 early out from the FLowLevelMemTracker function call so they don't trigger the problem.

This leads to ../../../*engine*/Content/Paks/ being created, instead of e.g ../../../*tp_firstperson*/Content/Paks/, making the engine believe there are no paks and fall back to reading from a normal file.

#jira UE-122150
#rb josh.adams

#ROBOMERGE-SOURCE: CL 17316912 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17316940 by nuno leiria in ue5-release-engine-test branch]
2021-08-26 09:28:08 -04:00
rolando caloca
f6cd88c157 UE5 - Remove platform
#rb Steve.Smith
[FYI] Jules.Blok, Ryan.Durand, Ben.Marsh

#ROBOMERGE-SOURCE: CL 17295935 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v861-17282326)

[CL 17295945 by rolando caloca in ue5-release-engine-test branch]
2021-08-24 19:28:38 -04:00
zach bethel
56bcfedc9e Fixed CSV profiler build break.
#rb none

#ROBOMERGE-SOURCE: CL 17183320 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17183331 by zach bethel in ue5-release-engine-test branch]
2021-08-16 18:10:26 -04:00
zach bethel
1e1c2b8959 Adding new CSV stat to record unaccounted render thread time outside of the scene render function.
#rb ben.woodhouse

#ROBOMERGE-SOURCE: CL 17182521 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17182564 by zach bethel in ue5-release-engine-test branch]
2021-08-16 17:32:49 -04:00
andriy tylychko
6bf3101dcd deprecated FTicker and family and replaced by thread-safe FTSTicker
#jira UE-120090
#rb francis.hurteau


#ROBOMERGE-SOURCE: CL 17176325 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v855-17104924)

[CL 17176374 by andriy tylychko in ue5-release-engine-test branch]
2021-08-16 11:09:22 -04:00
devin doucette
d50e330b94 DDC: Split the new API from the old API
The new API uses exported functions and cannot be included with the old API without compile errors in existing code that has an include-only dependency on DDC.

#rb Zousar.Shaker
#rnx
#preflight 610c01e3aeb05700011dc5ab

#ROBOMERGE-SOURCE: CL 17071263 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v853-17066230)

[CL 17071271 by devin doucette in ue5-release-engine-test branch]
2021-08-05 13:12:08 -04:00
aurel cordonnier
dc4bf61540 Merge from Release-Engine-Staging @ 17030559 to Release-Engine-Test
This represents UE4/Main @ 17030256 and Dev-PerfTest @ 17030553

[CL 17031509 by aurel cordonnier in ue5-release-engine-test branch]
2021-08-03 11:56:47 -04:00
charles bloom
df3497d089 OodleDataCompression fixing namespace convention
#rb none

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

[CL 16912187 by charles bloom in ue5-release-engine-test branch]
2021-07-21 14:05:39 -04:00
dan phillips
65c96d1d61 Bug fix for crash on exit, IODispatcher needs to be shutdown after the shadercodelibrary
#jira none

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

[CL 16900260 by dan phillips in ue5-release-engine-test branch]
2021-07-20 15:09:56 -04:00
charles bloom
645446f96c OodleDataCompression in Core
All games now use Engine Oodle for runtime decompression
Oodle in Engine can load an older Oodle DLL for encoding packages to keep making the same binary data

#rb dan.thompson,devin.doucette

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

[CL 16879428 by charles bloom in ue5-release-engine-test branch]
2021-07-18 13:31:39 -04:00
dmitriy dyomin
c73fff7449 Fixed case where editor starting in a mobile preview will crash failing to find auto-generated shaders
[FYI] arciel.rekman

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

[CL 16846766 by dmitriy dyomin in ue5-release-engine-test branch]
2021-07-14 03:08:09 -04:00
paul chipchase
7a6c8ee40d Make sure that the FVirtualizationManager is created on the game thread as some of it's dependancies now require being created on the game thread.
- This will be cleaned up further when FVirtualizationManager is moved into the Virtualization module and we do a pass on the initialization.

#rb Per.Larsson
#rnx
#preflight 60d57e67925f1400012be5af

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

[CL 16783916 by paul chipchase in ue5-release-engine-test branch]
2021-06-25 11:47:35 -04:00
matt peters
0724105f6c BulkDataRegistry
Updating FVirtualizedUntypedBulkData and textures to use the BulkDataRegistry.
BulkDataRegistry: Add get/put accessors for the cached BulkDataList of packages.
EditorDomain: Move ClassDigests into a global variable that can be shared with BulkDataRegistry.
EditorDomain: Improve performance of GetFileSize by fetching metadata only.
Tickable Cook Objects, for systems used by the cooker that need to be ticked.
Implementation of the the BulkDataRegistry that uses the DDC cache for persistent storage of the BulkDataList.

#rb Devin.Doucette, Paul.Chipchase, Zousar.Shaker

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

[CL 16768778 by matt peters in ue5-release-engine-test branch]
2021-06-24 00:51:58 -04:00
matt hoffman
e5bf2fd2b6 Matinee: Misc cleanup (code comment changes, etc.)
#jira UE-105313
#rb Trivial
#preflight 60cb86666092ba00014e413d

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

[CL 16708979 by matt hoffman in ue5-release-engine-test branch]
2021-06-17 14:57:48 -04:00
martin ridgers
c9b7b2e956 Reinstate auto-connect for the editor proper. This was previously disabled if the editor was being run as it would interfer with plugins that would create their own store and enable tracing to it.
#rb jb
#rnx

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

[CL 16704139 by martin ridgers in ue5-release-engine-test branch]
2021-06-17 09:55:32 -04:00
zousar shaker
c27625b056 Integrating //UE5/Dev-Cooker [at] 16678003 to //UE5/Main (Zousar.Shaker-YEG-0943-Quaternary)
Non-DevIteration_ShooterGame


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

[CL 16678928 by zousar shaker in ue5-release-engine-test branch]
2021-06-15 16:38:03 -04:00