Commit Graph

10864 Commits

Author SHA1 Message Date
marc audy
6f03a3fa73 FThreadHeartBeat
- Fix CheckpointSuspendCount undercount
#preflight 62d9bffdbc175ec68c94d579


[FYI] justin.marcs, evgenii.babinets

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 21211605 via CL 21212656 via CL 21214086 via CL 21214103
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21214657 by marc audy in ue5-main branch]
2022-07-22 00:12:31 -04:00
Josh Adams
65fefd35d4 - Removed the idea of Required .ini files (Base.ini). It never helped, and just causes issues with Programs.
#rb trivial
#jira UE-151534
#fyi eric.mcdaniel
#preflight 62d9de53bc175ec68c9f7b7d

[CL 21212232 by Josh Adams in ue5-main branch]
2022-07-21 19:31:16 -04:00
daren cheng
44082a7134 Undo backout of 20977345.
---
Temp revert changes to FMath::{Abs, Min, Max} due to undesirable interactions w/ multi-dimensional vector types.
Will add back in changes after putting in type traits to check for this edge case.
---
[FYI] fabian.giesen
#preflight 62c60dcb7e606620fdcfa4f3

#ROBOMERGE-AUTHOR: daren.cheng
#ROBOMERGE-SOURCE: CL 21206576 via CL 21206614 via CL 21206632
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21210722 by daren cheng in ue5-main branch]
2022-07-21 17:44:26 -04:00
mickael gilabert
b2c395d8b8 Trim Low level allocator memory when OS might go into OOM
[REVIEW] [at]rob.millar
[FYI] dave.barrett
#rnx

#ROBOMERGE-OWNER: mickael.gilabert
#ROBOMERGE-AUTHOR: mickael.gilabert
#ROBOMERGE-SOURCE: CL 21204808 via CL 21205552 via CL 21205565 via CL 21205612
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21209877 by mickael gilabert in ue5-main branch]
2022-07-21 17:08:05 -04:00
andrew grant
f6c96db43f Automation Improvements for running editor-based automation, and specifically profiling
* Added IgnoreLogEvents automation command / cvar that can be used to exclude log events from automation reports. Specifically here this prevents errors/warnings in something like PIE from manigesting as automation events
* Automation Controller Manager now waits for an interactive framerate before executing. This ensures automation doesn't occur when async loading is being flushedcritical to startup or level loading and f
* Renamed FWaitForAverageFrameRate to FWaitForInteractiveFramerate and moved default values to be ini-driven
* Editor now disables throttling when -benchmarking is specified
* FIxed issue where Project.Maps.PIE only worked if the provided map was a full object name (/Game/Path/MyMap.MyMap)

#rb swarm

#ROBOMERGE-OWNER: andrew.grant
#ROBOMERGE-AUTHOR: andrew.grant
#ROBOMERGE-SOURCE: CL 21201287 via CL 21201301 via CL 21203967 via CL 21203996 via CL 21204009
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21205507 by andrew grant in ue5-main branch]
2022-07-21 14:39:27 -04:00
rune stubbe
377ac0fa54 Fix for linux build issue: 196296
Fixed incorrect condition in normal test
#preflight skip

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 21200146 via CL 21200170 via CL 21200178
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21201348 by rune stubbe in ue5-main branch]
2022-07-21 11:10:25 -04:00
rune stubbe
85347d73ca Nanite builder fixes:
-Fixed issue where cluster DAG cut from Trim was sometimes inconsistent between clusters and groups, which could lead to encoder crashes
-Reenabled Trim for NaniteDisplacedMesh
-Added vertex sanitation code to builder that eliminates floating point specials and clamps value ranges so we won't have to worry about overflows
-Fixed incorrect asserts around NumHierachyFixups/NumClusterFixups that used '<' instead of '<='
-Fixed DoesTargetPlatformSupportNanite not taken into account for StaticMesh DDC key (from Brian)

#rb brian.karis
#preflight 62d92bb0bc175ec68c6f8e42
#jira UE-159539

#ROBOMERGE-AUTHOR: rune.stubbe
#ROBOMERGE-SOURCE: CL 21199742 via CL 21199746 via CL 21199751
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21201321 by rune stubbe in ue5-main branch]
2022-07-21 11:09:27 -04:00
Devin Doucette
e5ec6f8b53 Logging: Reduced stack usage of assertions, crashes, ensures, and fatal logs
- Stack required by failed assertions, fatal logs, and low-level fatal errors decreased by 24,832 bytes.
- Stack required by failed ensures decreased by 18,688 bytes.
- Stack required by non-fatal logs decreased by 8,192 bytes.

#preflight 62d87941bc175ec68c27963e
#rb Zousar.Shaker

[CL 21200368 by Devin Doucette in ue5-main branch]
2022-07-21 09:59:53 -04:00
paul chipchase
135e304463 Add an ini file option which when set to true allows package submissions to source control to go ahead even if the virtualization process failed.
#rb none
#jira UE-159596
#rnx
#preflight 62d94160110da0f944afdd32

### Problem
- When rolling our virtualization to projects we have run into a number of set up problems which has caused users to fail to submit packages from the editor as when the virtualization failed we prevented the overall submit from going through.
- Although we will eventually work through all of these problems and add better fault tolerance for now it is annoying for the content team so we need an easy way for a project to allow package submits to be completed even if the virtualization process part of the submit failed.
- Worth noting that the virtualization process failing should never affect the state of the package files, the only downside is that the packages may not be virtualized.

### Fix
- The virtualization/rehydration of packages now return an enum instead of a bool although at the moment we are only returning Success and Failed, but it will allow us to expand in the future
- Combined the code calling the virtualization process from both the source control window and the source control changelist window into a single utility function.
-- Now the two windows only diverge on how they report failure to the user.

- This new utility function now checks to see if the virtualization manager suggests if failing the virtualization process should block any package submission to source control or not.
- I am not happy with this solution, but I haven't come up with anything that feels right, this solution will at least work.

[CL 21199597 by paul chipchase in ue5-main branch]
2022-07-21 08:31:47 -04:00
nat parkinson
606862353e [Backout] - CL21196825
[FYI] bernard.lambert
Original CL Desc
-----------------------------------------------------------------
- Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: nat.parkinson
#ROBOMERGE-SOURCE: CL 21197038 via CL 21197050 via CL 21197054 via CL 21197064 via CL 21197075
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197499 by nat parkinson in ue5-main branch]
2022-07-20 23:51:13 -04:00
bernard lambert
f595573ef0 - Added functions to get and set allowed screen orientations through the PlatformMisc class.
- Implemented logic for setting allowed screen orientations on iOS.
- Added possibility to set allowed screen orientation to SCREEN_ORIENTATION_SENSOR  on Android so that the screen orientation can be unlocked to adjust itself according to the sensor.
- Exposed PortraitSensor, LandscapeSensor and FullSensor screen orientations in blueprint library.


#ROBOMERGE-AUTHOR: bernard.lambert
#ROBOMERGE-SOURCE: CL 21196825 via CL 21196834 via CL 21196849 via CL 21196861 via CL 21196876
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21197495 by bernard lambert in ue5-main branch]
2022-07-20 23:51:04 -04:00
henrik karlsson
8e610361bd [Core]
* TrackedActivity - Fixed so "Status" activity always appear before "I/O" activity

#rb trivial
#preflight 62d834ad110da0f944766a90

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21186124 via CL 21195234 via CL 21195420 via CL 21195499
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21196928 by henrik karlsson in ue5-main branch]
2022-07-20 21:51:47 -04:00
zach harris
d6bd73c128 Changing exception code for abnormal shutdowns triggered by abort and terminate from ensure to assert.
#ROBOMERGE-AUTHOR: zach.harris
#ROBOMERGE-SOURCE: CL 21185281 via CL 21185333 via CL 21186873 via CL 21187098 via CL 21187211
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21194161 by zach harris in ue5-main branch]
2022-07-20 18:57:29 -04:00
nick brett
c675819ca1 [UE][FEATURE] Extend Pose Watches to support control of other aspects of animation node debug draw.
- Pose watches can now contain elements which represent different asspects of an anim nodes debug draw (i.e. bodies and constraints in RBAN)
- Elements can be used to enable anim node debug draw even when a node is not selected, acting in the same way as the previous pose watches
- The previous Pose watch behavior is now provided by an element within a pose watch
- RBAN nodes now make use of Pose Watch Elements
- Moved skeleton draw parameter UPROPERTIES from PoseWatch to specialised PoseWatchPoseElement class

#rb [at]Thomas.Sarkanen, [at]Lucas.Dower
#preflight 62d6a3e43c3df323901fca27

#ROBOMERGE-AUTHOR: nick.brett
#ROBOMERGE-SOURCE: CL 21174786 via CL 21175779 via CL 21181135
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192394 by nick brett in ue5-main branch]
2022-07-20 18:29:30 -04:00
frederic brachfogel
1ed46c360a Implementation for FAndroidMisc::GetMaxRefreshRate
[REVIEW] francois.guimond fourat.jellouli allan.bentham


#ROBOMERGE-AUTHOR: frederic.brachfogel
#ROBOMERGE-SOURCE: CL 21165684 via CL 21166857 via CL 21172666 via CL 21174417 via CL 21180324
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192306 by frederic brachfogel in ue5-main branch]
2022-07-20 18:28:06 -04:00
fabian giesen
7d8781778c Deprecate TVector2 operator <, >, <=, >=
2D vectors are not canonically ordered and having these operators results in very unfortunate interactions with generic code. In particular FMath::{Min,Max,Abs} on TVector2s compile but do not behave as one would expect.

Add explicit comparison methods as a replacement and deprecate uses of TVector2 overloaded relational operators since it's confusing and error-prone. Fix existing uses to avoid deprecation warnings. Several of these fixes are behavioral changes to fix what I am reasonably certain are bugs in the existing code - in particular, uses of FMath::{Min,Max,Abs} on TVector2s that almost certainly actually want TVector2::{Min,Max,GetAbs} instead.

#rb charles.bloom,jeff.roberts
#preflight 62d70a6547779a730aaac04b

#ROBOMERGE-AUTHOR: fabian.giesen
#ROBOMERGE-SOURCE: CL 21168341 via CL 21173069 via CL 21173193
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192034 by fabian giesen in ue5-main branch]
2022-07-20 18:23:11 -04:00
Arne Schober
377f3d0a8f Add support for tpause instruction in YieldCycle
#author Jeff.Rous
#review-21191913 https://p4-swarm.epicgames.net/reviews/21065942
#RB Arne.Schober
#preflight 62d87a29d76ea4b50382618f

[CL 21191905 by Arne Schober in ue5-main branch]
2022-07-20 18:19:38 -04:00
eric mcdaniel
629fb4f7ca Disable PLATFORM_ALLOW_ALLOCATIONS_IN_FASYNCWRITER_SERIALIZEBUFFERTOARCHIVE on additional platforms which use FPlatformMallocCrash during crash handling
#rb David.Harvey
#jira none - from a UDN
#preflight 62d80865bc175ec68c159800

[CL 21186372 by eric mcdaniel in ue5-main branch]
2022-07-20 15:00:59 -04:00
bryan sefcik
6d8242d801 Fixed issue compiling shipping.
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21167280 via CL 21172497 via CL 21172832
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183852 by bryan sefcik in ue5-main branch]
2022-07-20 13:00:08 -04:00
bryan sefcik
73bd6752ba Attempting to fix a compile issue that I CNR.
#preflight 62d6f00e185da2495fa2e9cb

#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21166161 via CL 21171903 via CL 21172307
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21183806 by bryan sefcik in ue5-main branch]
2022-07-20 12:58:34 -04:00
jeanfrancois dube
0c11c22a67 Unshelved from pending changelist '20736424':
World Partition Streaming Generation:
- Create actor descriptors map and actors clustering once per container instead of per container instance.
- Created IGenerateStreamingContext interface between streaming generation and runtime hashes to completly separate the two processes.
- Deprecated FActorClusterContext which was replaced by generic function GenerateObjectsClusters which was added in Engine recently.

Tests performed:
- Generated HLODs for AncientWorld and Small_City and tested in PIE, -game and cooked builds.
- Several tests usingf internal maps and projects.

#jira UE-155836
#rb patrick.enfedaque, richard.malo
#preflight 62d59ef699514be7eb70f984

#ROBOMERGE-OWNER: jeanfrancois.dube
#ROBOMERGE-AUTHOR: jeanfrancois.dube
#ROBOMERGE-SOURCE: CL 21160902 via CL 21160925 via CL 21165383
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182495 by jeanfrancois dube in ue5-main branch]
2022-07-20 12:14:58 -04:00
henrik karlsson
3abd0b8188 [Runtime ApplicationCore]
* New Console for windows. Instead of using build in console window a win32 window is used with a bunch of convenience features
  * Activity fields. Useful to visualize what is going on in the process
  * Log list view that can be navigated while new entries are being added.
  * Filters that can include/exclude log entries based on keywords
  * Console command box. Execute your console commands directly in the console window. Note that they won't run until Tick loop has started.
  * Customizable color support. Make your dedicated server console dark gray and your client console light blue.
  * Remembers size and position separately for client/server/other. This means that UnrealEngine.exe can be used for all and console can be separately placed

Is currently only enabled if "-NewConsole" exists on command line. Once new console is well tested we will probably change so built-in console can be enabled with -DefaultConsole or something. There is one advantage with the default console and that is that it is still interactive even though process is not running. Sometimes that can be useful

#rb Devin.Doucette
#preflight 62d5dc13d54af4b9a247b08c

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21155164 via CL 21156947 via CL 21159300 via CL 21164070
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182267 by henrik karlsson in ue5-main branch]
2022-07-20 12:08:55 -04:00
henrik karlsson
3bac92b636 TrackedActivity.cpp - Fixed unity build
#rb Devin.Doucette
#preflight skip

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21150528 via CL 21153213 via CL 21156550 via CL 21157100
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181864 by henrik karlsson in ue5-main branch]
2022-07-20 11:57:24 -04:00
henrik karlsson
d2a7c95264 TrackedActivity.cpp - Fixed unity build
#rb Devin.Doucette
#preflight skip

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21150191 via CL 21153190 via CL 21156543 via CL 21157093
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181847 by henrik karlsson in ue5-main branch]
2022-07-20 11:57:06 -04:00
henrik karlsson
61bc120ca2 [Runtime Core]
* TrackedActivity - New class that will be used to track what is going on in running process. This is being used by the new console window. This is designed to be used mainly for developers and not end consumers

#rb Devin.Doucette
#preflight

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21149667 via CL 21153061 via CL 21156478 via CL 21157070
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21181831 by henrik karlsson in ue5-main branch]
2022-07-20 11:56:44 -04:00