Commit Graph

10572 Commits

Author SHA1 Message Date
eric knapik
9704c5adc2 #jira: UE-155425
Don't skip loading ini files if the path isn't fully qualified by ending in the .ini filetype.
This can prevent the CommandLineAlias from not being loaded if the ini file is skipped.

[FYI] Josh.Adams

#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 20445308 via CL 20445309
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20449664 by eric knapik in ue5-main branch]
2022-06-01 04:27:54 -04:00
roey borsteinas
295564427d Consolidated the Waterbody navigation and collision settings onto the UPrimitiveComponent interfaces and deprecated the duplicate water functions.
#rb jonathan.bard
#preflight 6290d3363c05bea8bfd244d0

#ROBOMERGE-AUTHOR: roey.borsteinas
#ROBOMERGE-SOURCE: CL 20436491 via CL 20436501 via CL 20436509
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20448581 by roey borsteinas in ue5-main branch]
2022-06-01 03:50:44 -04:00
CarlMagnus Nordin
3d5a2052dc AsyncLoading2: Add support for having multiple PackageStore backends
#preflight 6296fc872a1851b4ccae7e39
#rb pj.kack

[CL 20447121 by CarlMagnus Nordin in ue5-main branch]
2022-06-01 02:12:33 -04:00
josh adams
46a830d6b4 - Replacing many uses of LoadGlobalIniFile and LoadExternalIniFile with FCOnfigContext
#rb matt.peters
#p4v-preflight-copy 20293528
#preflight 629665d15238916c514359ad

[CL 20441581 by josh adams in ue5-main branch]
2022-05-31 16:25:06 -04:00
charles bloom
593fab6f69 Clamp F16 in valid range for BC6H in ISPC and ASTC, also set A to 1
even though ASTC could encode other values of A, still clamp as if it was BC6H for consistency
now all compressed HDR formats should clamp the same way that Oodle Texture currently does

#preflight 6296556c452ffe576a816993
#rb fabian.giesen

[CL 20440882 by charles bloom in ue5-main branch]
2022-05-31 15:49:40 -04:00
Jimmy Andrews
ce6bd4d0a5 re-fix slow task getting stuck on auto-cancel w/ delayed dialogs, this time accounting for nested slow tasks
#rb matija.kecman
#preflight 62963d49be0ae0b33a4524f1

[CL 20438322 by Jimmy Andrews in ue5-main branch]
2022-05-31 12:19:54 -04:00
Stu McKenna
7f92ea8185 - Fix for broken Grid 3D Functions
#rb rob.krajcarski
#jira none
#rnx
#preflight 629556e1fb0fca7e58224594

[CL 20438069 by Stu McKenna in ue5-main branch]
2022-05-31 11:59:51 -04:00
Steve Robb
7daf944467 GitHub #9202 : Semantic fix
Replaced nullptr_t with TYPE_OF_NULLPTR to prevent error reporting in IDE's utilizing clangd like QT Creator

#rb steve.robb
#jira UE-153483
#preflight 62962084d86c0bf739afa06c

[CL 20436963 by Steve Robb in ue5-main branch]
2022-05-31 10:41:56 -04:00
JeanFrancois Dube
57aef1aa48 World Partition: minor code changes to keep consistency between streaming generation log functions.
#rb none
#preflight none
#rnx

[CL 20433362 by JeanFrancois Dube in ue5-main branch]
2022-05-30 19:32:08 -04:00
JeanFrancois Dube
5feebe9624 World Partition:
- Added FHierarchicalLogArchive proxy that can be used to output a structured log archive.
- Converted world partition streaming generation logging to use FHierarchicalLogArchive.

#rb richard.malo
#preflight 6294e2363f154a84f7fb492d
#rnx

[CL 20431659 by JeanFrancois Dube in ue5-main branch]
2022-05-30 12:37:47 -04:00
Devin Doucette
605998206f CompactBinary: Replaced local ReadUnaligned function with FPlatformMemory::ReadUnaligned
#preflight 6294ced34c7bcac173d19fb1
#rb Zousar.Shaker
#rnx

[CL 20431253 by Devin Doucette in ue5-main branch]
2022-05-30 11:19:23 -04:00
Jerome Delattre
fd78d9fe7d Avoid map reallocation for AutomationTest filters
#preflight 6294d35d4c7bcac173d20670
#rb Chris.Constantinescu
#rnx
#jira none

[CL 20430933 by Jerome Delattre in ue5-main branch]
2022-05-30 10:34:32 -04:00
Andriy Tylychko
1ac9a76c0c releasing FIoBatchImpl::Callback right after it's called to avoid a long living allocation that keeps a larger memory block from being returned to the system
#rb CarlMagnus.Nordin
#preflight trivial

[CL 20429437 by Andriy Tylychko in ue5-main branch]
2022-05-30 05:43:13 -04:00
Richard Wallis
55c9e19f57 Remove macOS specific logic in FPaths::GeneratedConfigDir(). Using ~/library/preferences/UnrealEngine folder based on project name can lead to clashes with different projects using the same name. Use the same logic as other platforms and store generated config ini files in the project/saved/ folder. This also will fix the minor issue of leaving lots of per project config files around in ~/library/preferences/UnrealEngine when you delete a project.
Tested multiple blueprint and C++ projects with the same name in different directories; running the editor + PIE + cooking & packing.

#jira UE-130570
#review-20362376 @will.damon
#preflight https://horde.devtools.epicgames.com/job/628dfb1d415c65b96ae16322
#rb Will.Damon, Josh.Adams

[CL 20429412 by Richard Wallis in ue5-main branch]
2022-05-30 05:38:41 -04:00
Marc Audy
c77dc2604e Fix non-unity
#rnx
#preflight

[CL 20403276 by Marc Audy in ue5-main branch]
2022-05-28 01:16:10 -04:00
brian karis
0d8b010e12 Nanite displaced mesh. Added uniform tessellation and displacement.
#rb graham.wihlidal
#preflight 62901dcd74630984fd6763b1

#ROBOMERGE-AUTHOR: brian.karis
#ROBOMERGE-SOURCE: CL 20400905 via CL 20400917 via CL 20400925
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20402444 by brian karis in ue5-main branch]
2022-05-27 20:42:29 -04:00
jeremy moore
6ffda2e45e Add bEvaluateWorldPositionOffset property which will be used to determine whether to evaluate WPO.
Actual usage of the property will get merged in from UE5, but adding the placeholder property here to reduce pain from data merges.
This change also remaps the original bEvaluateWorldPositionOffset on SMC into bEvaluateWorldPositionOffsetInRayTracing, because this var was only ever driven by ray tracing specific methods.
We expect to need to special case robomerging the remap of bEvaluateWorldPositionOffsetInRayTracing since it needs to be done from different branches with different branch specific versions.
#rnx
#preflight 62912113fe5e30102ab83d32

#ROBOMERGE-OWNER: jeremy.moore
#ROBOMERGE-AUTHOR: jeremy.moore
#ROBOMERGE-SOURCE: CL 20398059 via CL 20398673 via CL 20398786
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20401242 by jeremy moore in ue5-main branch]
2022-05-27 19:30:55 -04:00
geoff evans
a01f28498a Trace: Enable Default Trace Channels automatically for Editor
### Features
Prior to this change there are no trace channels active for any Editor process, and default channels were accessed by passing -trace or -trace=default.

This change enables default channels automatically for Editor.

#rb ionut.matasaru
#jira UE-151707
#preflight 627d6b4ba82f3adab8b0de98

#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 20394530 via CL 20394607 via CL 20394639
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v949-20362246)

[CL 20398664 by geoff evans in ue5-main branch]
2022-05-27 16:49:15 -04:00
Johan Berg
a86afcb0fd Memory tracing refactorings
As the memory tracing implementation grew and callstack tracing was extracted it became clear that alot of the code which was implemented as platform specific should really be platform independent. This changelist moves all MemoryTrace_* methods except the MemoryTrace_Initialize to a platform independent layer. This also allows for internalizing the "do-not-allocate-while-tracing-an-allocation" flag. Also took the oportunity to rename MemoryTrace.cpp in Microsoft folder to better reflect platform specific file.

#rb ionut.matasaru
#preflight 6290df2d3c05bea8bfd3ed82
#preflight 6290eb90b83292836e074fff

[CL 20394897 by Johan Berg in ue5-main branch]
2022-05-27 12:39:27 -04:00
Julien StJean
2eba3b5a65 Improved the performance of the TypedElementSelectionSet Selection.
From 119 Seconds to 269 ms when measuring the time redo a large marquee selection (30 384 static mesh instances).

#jira UE-148888
#preflight 627146b75e6ce673f443ccea

[CL 20393379 by Julien StJean in ue5-main branch]
2022-05-27 10:44:22 -04:00
Steve Robb
4514fad516 GitHub 8898 : FIntVector: Add component-wise multiplication operator
#rb steve.robb
#jira UE-142730
#preflight 6290d8ac1f0041249bf005d5

[CL 20393041 by Steve Robb in ue5-main branch]
2022-05-27 10:16:47 -04:00
David Harvey
3be9106018 remove Hololens from ExceptionHandling.h
- only one function used in one place, so easier to extern it directly.

#jira UE-149794
#rnx
#preflight 6290b15bf6668c14a3cc75d0
#rb pending

[CL 20392928 by David Harvey in ue5-main branch]
2022-05-27 10:09:47 -04:00
jeff newquist
7d1a83e840 Remove hardcoded NDA platform define. This can be defined for a game by specifying bAllowConfidentialPlatformDefines as a target rule.
#jira none
#fyi david.harvey
#preflight 628f7ba43437fe04a8586fa9

[CL 20392517 by jeff newquist in ue5-main branch]
2022-05-27 09:40:32 -04:00
Rune Stubbe
1539f7895a Improved Nanite partitioning heuristics to produce fewer multi-material clusters
Locality links are now only added between elements with the same material
#rb brian.karis
#preflight 6290cee5dd2be751aeda4a71

[CL 20392408 by Rune Stubbe in ue5-main branch]
2022-05-27 09:30:52 -04:00
Devin Doucette
3b9e9b2d33 ParallelFor: Cancel unused tasks and time the wait for tasks to complete
When worker threads are heavily utilized by slow tasks, ParallelFor may execute most of the work on the calling thread before most (or any) of its tasks have executed. Allowing these tasks to execute later is wasteful because each task executed on a background worker pays about 0.3us to lower and then raise thread priority. Canceling the tasks can avoid that cost when paired with an upcoming change to the scheduler, which saves about 40us for each call to ParallelFor in a heavily-utilized pool of 126 worker threads.

#preflight 62587f45010ebc5d4e89d347
#rb Andriy.Tylychko, Arne.Schober

[CL 20392225 by Devin Doucette in ue5-main branch]
2022-05-27 09:18:08 -04:00