Commit Graph

10472 Commits

Author SHA1 Message Date
ilya loshchinin
3fa9f8ce4d Fixed FramePro re-initializing FThreadIdleStats singleton on shutdown.
- don't trace FramePro waits when FramePro is not recording (FramePro uses wait events only when recording).

#rb Michael.Sartain

#ROBOMERGE-AUTHOR: ilya.loshchinin
#ROBOMERGE-SOURCE: CL 20140195 via CL 20142229 via CL 20142742
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20145520 by ilya loshchinin in ue5-main branch]
2022-05-11 14:18:09 -04:00
Andriy Tylychko
bcb0d37211 fixed static analysis compilation
#jira UE-151642
#preflight 627bddf31e749933439054a8

[CL 20142511 by Andriy Tylychko in ue5-main branch]
2022-05-11 12:22:14 -04:00
geoff evans
d90ca97505 RenderingThread: Fix lack of logging the message and callstack for check() failures
### Notes
The check() message and callstack is actually printed in FWindowsErrorOutputDevice::HandleError which is called in the __except block after we RaiseException() inside ReportAssert(). However, RenderingThread's __except doesn't do this, so the contents of GErrorHist are lost to everyone except for CrashReporter. This change adds this necessary logging.

Also, add Windows Launch support for -IgnoreDebugger when choosing __try/__except or not (this precedes initialization of GIgnoreDebugger). This makes debugging easier for this class of issue.

### Testing
Repro steps are in the JIRA. Tested at that change (which has a reliable RenderingThread check() failure), and at #head where no defect exists. Tests fail and pass, respectively, as expected.

#rnx
#rb francis.hurteau
#jira UE-151056
#preflight 627b0b4ac42338be653745e6

[CL 20140980 by geoff evans in ue5-main branch]
2022-05-11 11:19:14 -04:00
robert millar
2a65490299 Remove Modules section from crash context as it's not compatible with old WER-based schema and it shouldn't be necessary for symbolization anyway.
#rb none

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 20131872 via CL 20131970 via CL 20132041 via CL 20132053
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20132970 by robert millar in ue5-main branch]
2022-05-10 21:19:02 -04:00
Andriy Tylychko
2ff31a5f77 switched off tasks integration while fixing a bug
#preflight 627af8951e74993343433a50

[CL 20132267 by Andriy Tylychko in ue5-main branch]
2022-05-10 19:59:31 -04:00
dmytro vovk
59a5f61067 Fixed VectorLoadURGBA16N and VectorLoadSRGBA16N on NEON and FPU
#jira UE-151249
#rb Zak.Middleton

#ushell-cherrypick of 20130528 by dmytro.vovk
#preflight 627ae02e68422389764e57c5

[CL 20131539 by dmytro vovk in ue5-main branch]
2022-05-10 18:51:29 -04:00
geoff evans
0988a55b0a Trace Snapshot to File
### Features
We can now write tailing memory to a utrace file. Snapshotting while tracing to a file or socket is supported.
This change introduces a new console command: Trace.SnapshotFile. It writes the profiling data from memory into an optionally specified a utrace file.

### Testing
Run Editor with -tracefile
Run Editor with -trace, connect live with insights
Run Editor without -trace (this does generate a very small utrace since there is memory and data in the tail even though default channels are not enabled)

#rb johan.berg
#jira UE-150302,UE-150292
#preflight 6272a3213e1f2a9d3a88ee3d

#ROBOMERGE-OWNER: geoff.evans
#ROBOMERGE-AUTHOR: geoff.evans
#ROBOMERGE-SOURCE: CL 20124258 via CL 20125717 via CL 20126082
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20129506 by geoff evans in ue5-main branch]
2022-05-10 17:03:04 -04:00
Josh Adams
8910629a37 - Fixed the Save dir for some editor configs, also fixes plugins loading into Editor.ini
#rb jason.stasik
#jira UE-151341
#preflight 627aad9c3277776ff3fd0768

[CL 20127187 by Josh Adams in ue5-main branch]
2022-05-10 14:41:00 -04:00
Josh Adams
b788a36fba - Fixed another checkSlow
#rb trivial
#preflight 627a9be4fc07e0a9b41b1a6a

[CL 20125473 by Josh Adams in ue5-main branch]
2022-05-10 13:30:02 -04:00
mickael gilabert
68e0f62dfb Added UpdateStats stub to FPooledVirtualMemoryAllocator
#rb trivial

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 20122245 via CL 20122306 via CL 20122319 via CL 20122327
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20123994 by mickael gilabert in ue5-main branch]
2022-05-10 11:39:29 -04:00
mickael gilabert
be3bc1ea71 Moved bookkeeping to beginning of large chunks so large page allocator could fallback to CachedPageOSAllocator without crashing at canary check
Improved very large page allocator to keep alive FreeList upon a certain amount of frames. this to prevent physical memory fragmentation

[REVIEW] [at]rob.millar, [at]eric.mcdaniel, [at]david.harvey
[FYI] ben.woodhouse, dave.barrett, john.huelin
#rnx

#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 20122059 via CL 20122066 via CL 20122077 via CL 20122086
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20123982 by mickael gilabert in ue5-main branch]
2022-05-10 11:39:10 -04:00
vincent robert
83b789ded4 Optimize BVH, cache improvement
#preflight: https://horde.devtools.epicgames.com/job/627a58b8705bfaf9ae36db7d

[CL 20123324 by vincent robert in ue5-main branch]
2022-05-10 11:04:25 -04:00
Josh Adams
79030a2f8d - Deleting old unused code, and a related useless checkSlow that was firing in debug
#rb trivial
#preflight 627a5b779d4909c3fc18aac0

[CL 20121836 by Josh Adams in ue5-main branch]
2022-05-10 08:56:22 -04:00
joe barnes
1360416ed0 [Android] Roll back LoadingScreen hang detector until we can track down and resolve false hang detection triggers when app is backgrounded for > 30s.
[REVIEW] [at]peter.sauerbrei

#localization none
#tests local

#ROBOMERGE-AUTHOR: joe.barnes
#ROBOMERGE-SOURCE: CL 20118306 via CL 20118381 via CL 20118509 via CL 20118533 via CL 20118567
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20119171 by joe barnes in ue5-main branch]
2022-05-10 01:17:48 -04:00
robert millar
949ed7ba3a Insert dummy values into memory images for names like vtable pointers.
#rb ben.ingram

#ROBOMERGE-AUTHOR: robert.millar
#ROBOMERGE-SOURCE: CL 20115901 via CL 20115948 via CL 20115961 via CL 20115990
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20117747 by robert millar in ue5-main branch]
2022-05-09 23:27:24 -04:00
Stu McKenna
222e2fc9bd - Convert Spline DI to Shader Parameters
- Object Reader conversion to use shader structures
- Neighbor Grid 3D conversion to use shader structures

#rb michael.galetzka
#jira none
#preflight 6275a329f77c9c2b5440dfc9

[CL 20115249 by Stu McKenna in ue5-main branch]
2022-05-09 20:49:45 -04:00
stanley hayes
3792731900 #JIRA: SOL-2646
- Fix for FFileHelper::SaveStringToFile not closing a file handle

#rnx
#rb Jared.Cotton
#rb YiLiang.Siew

#preflight 627961c4a35fb5cb3f54e42a

#ROBOMERGE-AUTHOR: stanley.hayes
#ROBOMERGE-SOURCE: CL 20110449 via CL 20110971 via CL 20111930 via CL 20112187
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114367 by stanley hayes in ue5-main branch]
2022-05-09 19:53:27 -04:00
charles lefebvre
d08f17e0fa Add NullOpt for TOptional
#rb Steve.Robb
#preflight 627929d27a7883bdcb01948a

#ROBOMERGE-AUTHOR: charles.lefebvre
#ROBOMERGE-SOURCE: CL 20104230 via CL 20110377 via CL 20111418 via CL 20111704
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20114325 by charles lefebvre in ue5-main branch]
2022-05-09 19:52:09 -04:00
Marc Audy
a3e52531f4 Revert no discard workaround for ensure macro as it is causing a lot of static analysis issues.
#rnx
#preflight

[CL 20114201 by Marc Audy in ue5-main branch]
2022-05-09 19:41:41 -04:00
Josh Adams
2023137e20 - Changed Plugins to use an FConfigContext, uising the FConfigContext::ReadPluginFile() factory, this dramatically reduces the number of files to scan, solves the BaseFoo.ini vs DefaultFoo.ini issue for Engine vs Project plugins
- Moved the IniCacheSet into the FConfigContext, and out of FConfigCacheIni. We could possibly get rid of it now entirely with the reduced number of paths we look for (and the fact that plugin scanning will be multithreaded soon)
- Removed the TRUEENGINE workaround now that Plugins are using a context to load the file, this makes the workaround unnecessary since plugins don't fake the EngineConfigDir
#rb jon.nabozny
#preflight 627959cf242446ce6c637258
#jira UE-151373,UE-151376

[CL 20108089 by Josh Adams in ue5-main branch]
2022-05-09 14:58:59 -04:00
jeanfrancois dube
d86ffe48bd World Partition Actor Descriptors:
- Added actor tags to actor descriptors so they can be queried for unloaded actors.
- Added filtering by actor tags in WorldPartitionResaveActorsBuilder.

#rb patrick.enfedaque, richard.malo
#preflight 62751614e31cfc52d5aea104
#rnx

#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 20074269 via CL 20074279 via CL 20074282
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20105943 by jeanfrancois dube in ue5-main branch]
2022-05-09 13:38:24 -04:00
Lauren Barnes
6248f8d412 Replacing legacy EditorStyle calls with AppStyle
#preflight 6272a74d2f6d177be3c6fdda
#rb Matt.Kuhlenschmidt

#ROBOMERGE-OWNER: Lauren.Barnes
#ROBOMERGE-AUTHOR: lauren.barnes
#ROBOMERGE-SOURCE: CL 20057269 via CL 20070159 via CL 20072035 via CL 20072203
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)
#ROBOMERGE-CONFLICT from-shelf

[CL 20105363 by Lauren Barnes in ue5-main branch]
2022-05-09 13:12:28 -04:00
aditya ravichandran
8facdaacfa FAsyncTaskNotification: Refactor to remove SSlateAsyncTaskNotificationWidget and use different SNotificationItem notifications depending on the state
#jira UE-134088
#rb Matt.Kuhlenschmidt
#preflight 62791d38ea2a9db9dc57a50e

[CL 20102262 by aditya ravichandran in ue5-main branch]
2022-05-09 10:06:37 -04:00
Geoffrey Douglas
1fda1c70bb Refactor the LiveLink component to allow each LiveLink controller in its controller map to specifiy a component to control
Deprecate the "ComponentToControl" property of the LiveLinkComponentController
Add a customization for LiveLinkControllerBase that ensures the Component picker is displayed first in the details panel
Fix the fallout from the deprecation in USDImporter plugin

#jira UE-147579
#rb simon.therriault, daniel.coelho
#preflight 62790eb24561731dbeee939d

[CL 20101534 by Geoffrey Douglas in ue5-main branch]
2022-05-09 09:01:28 -04:00
David Harvey
3997a1ff0c fix platform file trace for modular builds.
#jira UE-151231
#rnx
#rb trivial
#preflight 6278febdf34e710b6de75a71

[CL 20101167 by David Harvey in ue5-main branch]
2022-05-09 07:49:16 -04:00