22634 Commits

Author SHA1 Message Date
Chris Babcock
ed5898c2d7 Updates for Android 14 compatibility with TargetSDK 34
- RegisterReceiver changes
- Receiver exports in manifest
- Update GooglePAD to latest PlayCore (note: this requires changes to logic for ShowConfirmationDialog!)
- Update billing library to 6.0.1

#jira UE-219577
#android
#review-35379086 @Ben.Temple
#rb Ben.Temple

[CL 35450716 by Chris Babcock in 5.4 branch]
2024-08-12 09:22:49 -04:00
calvin zheng
8cf884fbdf Xcode 16 compatibility
#jira UE-221324
#rb Josh.Adams, zack.neyland, Joe.Kirchoff

[CL 35399654 by calvin zheng in 5.4 branch]
2024-08-08 12:39:45 -04:00
zach brockway
3faf06510f Switchboard/SwitchboardListener: Roll-up of multiple fixes from other streams.
- Fixed not handling opening a config that has paths to locked drive (e.g. bitlocker).
- Fix nDisplay node hitches that happen after SBL is left running for a few hours, by limiting NvApi calls that cause hitches to connction time instead of regularly.
- Added optimizations to keep the UI responsive when connected to many (e.g. 30) nDisplay nodes.
- When Switchboard encounters an unexpected host key fingerprint, display a warning but allow the user to proceed with the connection.
- Fix for terminating multi-user server on build.

Original CL descriptions can be found below.

#jira UE-220454
#rb jason.walter

#ushell-cherrypick of 34210013 by Alejandro.Arango
#ushell-cherrypick of 34211340 by Alejandro.Arango
#ushell-cherrypick of 34515790 by alejandro.arango
#ushell-cherrypick of 34515828 by alejandro.arango
#ushell-cherrypick of 35190932 by zach.brockway
#ushell-cherrypick of 35202777 by zach.brockway

-----

Switchboard: Fixed not handling opening a config that has paths to locked drive (e.g. bitlocker).

File operations may raise OSError in such case.

[ushell-cherrypick] of 33917069 by Alejandro.Arango
[rb] alejandro.arango
[rnx]
[jira] none

[ushell-cherrypick] of 33917117 by Alejandro.Arango

-----

Switchboard: Fix nDisplay node hitches that happen after SBL is left running for a few hours, by limiting NvApi calls that cause hitches to connction time instead of regularly.

We discovered that NvAPI calls can cause hitches in frame presentation, this CL adds fine control over what status data is polled and which should be explicitly requested by the user. This is used to request status data that does not change often (e.g. driver version) and also calls that have been determined to cause hitches when calling dxgi present, only at time of connection or when the users presses "Refresh Table", instead of regularly.

For the regular GPU stat calls, the NvAPI calls were replaced with NVMI calls, which do not seem to be causing hitches.

"Refresh Mosaics" button renamed to "Refresh Table" because it now refreshes more than just the mosaics. Now it also requests a full sync status poll. This intentional action might cause a hitch on the nodes but this is now triggered explicitly by the user, which is rarely needed anyway, instead of every second.

Also fixed an issue of the nDisplay monitor table not updating its display after emitting the dataChanged signal.

Fixed nDisplay Monitor not updating when the nDisplay node name or address changed.

Improved nDisplay monitor to show the connection icon instead of the wider column "Connected" with yes/no values.

Vertically aligned the cells in the table.

It now doesn't use the orange warning color on certain columns that are only relevant when the node is running (e.g. present mode).

Added a code-only option to disable exe flags button.

[rb] zach.brockway
[jira] UE-216292
[rn] Fixed nDisplay hitches that happen after a few hours of running SBL.

[ushell-cherrypick] of 34083929 by Alejandro.Arango

-----

Switchboard: Updated the fix to the hitches issue because the other gpu stats api is exhibiting persistent and periodic micro hitches.

Added a "GPU Stats" checkbox to nDisplay monitor. Defaults to off, and should be kept off unless the user wants to monitor the GPU stats. The reason to recommend it to be off by default is that these queries can GPU in a state that makes it more prone to hitches.

We now close NvApi when no new usages have happened for the last 10 minutes.

Fixed a missing signal connection for on listener connected in Unreal device which was not allowing a full ndisplay monitor table refresh for the node that gets connected.

The gpu stats will now read as n/a when they are not being polled. This is because having stale data of these can be misleading to the user.

Also changed order of columns in the monitor because the OS is very wide and not as dynamic as the others.

Increased window initial size from 1192 to 1280 to accomodate the new GPU Stats checkbox.

"Fix ExeFlags" button removed, now the command is sent every time the program starts signal happens for an nDisplay device.
It is still there but not shown, and internally renamed to "Disable FSO" (and column to "FSO"), because it is the only thing we actually do.

[jira] UE-216292
[rb] zach.brockway
[p4v-cherrypick] 34470715

-----

Switchboard: Added optimizations to keep the UI responsive when connected to many (e.g. 30) nDisplay nodes.

* Changed to standard table model that seems more optimized and manages its own internal cache of table data.
* Spread nDisplay node status polls in time instead of doing all at the same time.
* Added indexed caches on write operations of the program queue so that multiple readers can find programs quickly.

[jira] UE-218111
[rb] zach.brockway
[p4v-cherrypick] 34514906

-----

Switchboard: Improved handling of host key fingerprint mismatch.

When encountering an unexpected fingerprint connecting to a device, a warning dialog is now shown, explaining the situation and allowing the user to proceed if desired.

In order to help elucidate potential causes of key mismatch, the subject common name of the self-signed certificate now includes the OS username and computer name, and this information is surfaced in the warning dialog.

[jira] UE-215167
[rb] jason.walter

[ushell-cherrypick] of 34655249 by zach.brockway

-----

Switchboard: Fix for terminating multi-user server on build.

Fixes regression from CL 24476690.

[jira] UE-215338

[ushell-cherrypick] of 33771173 by zach.brockway

[CL 35248809 by zach brockway in 5.4 branch]
2024-08-01 12:41:43 -04:00
calvin zheng
4af950e3a4 Fix for BP only project quick launch fail
#jira UE-209584
#rb Josh.Adams, zack.neyland

[CL 34501471 by calvin zheng in 5.4 branch]
2024-06-19 11:34:26 -04:00
marc audy
ad31f2fbf7 [Backout] - CL34428868
#fyi josh.adams

Original CL Desc
-----------------------------------------------------------------
Brojught two CLs over from Main, in one change:

CHANGE 1:
- Made a script (ExportAppleBuild) for uploading or exporting .xcarchives (we had MakeIPA but this is more general purpose and uses a project param to get ASC params
  - This needs .plist files to control the export/upload process, added some premade default ones in Engine/Build/Xcode
- Refactored some code for the Auth param stuff

CHANGE 2:
- Updated packaging with -distribution, to take use -archivedirectory param (if it ends with .xcarchive) as an override location to write the .xcarchive, instead of ~/Library/Developer/Xcode (when -archive isn't set)
- Similarly if -archive and -archivedirectory ends with .xcarchive, then that is the name of the directory to archive to, instead of using Xcode's name
- Improved logging of xcarchive info
#rb zack.neyland
#jira UE-211111

[CL 34484380 by marc audy in 5.4 branch]
2024-06-18 18:48:52 -04:00
josh adams
68cc92460d Brojught two CLs over from Main, in one change:
CHANGE 1:
- Made a script (ExportAppleBuild) for uploading or exporting .xcarchives (we had MakeIPA but this is more general purpose and uses a project param to get ASC params
  - This needs .plist files to control the export/upload process, added some premade default ones in Engine/Build/Xcode
- Refactored some code for the Auth param stuff

CHANGE 2:
- Updated packaging with -distribution, to take use -archivedirectory param (if it ends with .xcarchive) as an override location to write the .xcarchive, instead of ~/Library/Developer/Xcode (when -archive isn't set)
- Similarly if -archive and -archivedirectory ends with .xcarchive, then that is the name of the directory to archive to, instead of using Xcode's name
- Improved logging of xcarchive info
#rb zack.neyland
#jira UE-211111

[CL 34428868 by josh adams in 5.4 branch]
2024-06-17 13:50:42 -04:00
joe kirchoff
116a8c1e65 UnrealBuildTool: Handle spaces in VSWorkspace build tool paths by adding quotes
#rnx
#jira UE-216063
#rb henrik.karlsson

[CL 34324679 by joe kirchoff in 5.4 branch]
2024-06-12 17:45:52 -04:00
dmytro ivanov
a95e54f951 Fix order of arguments when using AFS to push libUnreal.so outside of .apk
#jira UE-214823
#rb Chris.Babcock
#[robomerge] 30.10

#ushell-cherrypick of 33605004 by dmytro.ivanov

[CL 34324659 by dmytro ivanov in 5.4 branch]
2024-06-12 17:45:25 -04:00
alexis matte
f7da96c8d2 [Archicad] Exporter accepts elements with External type without errors
- previously, export was raising an exception when this element was encountered. Breaking export or constantly re-displaying error dialog on auto-sync
- additionally, removed erro dialog popping up when exception was thrown from auto-sync - just logging the error

#jira UE-199677
[FYI] jeanluc.corenthin
#rb kerim.borchaev

[CL 34324604 by alexis matte in 5.4 branch]
2024-06-12 17:44:28 -04:00
kerim borchaev
b391873439 [Archicad exporter] Morph crash fix, morph instances fix, mirrored transform fix
- misplaced morph elements and mirrored objects issues as represented in UE-120861

- fixed UE-141483 which crashed in 5.4 (and was misplaced before)

#jira UE-213640 UE-120861 UE-141483
#rb JeanLuc.Corenthin

[CL 34324585 by kerim borchaev in 5.4 branch]
2024-06-12 17:44:14 -04:00
brendan lienau
ecbc4534d9 [Gauntlet] TargetDeviceAndroid.IsActivityRunning() will now search for 'ResumedActivity' instead of 'mResumedActivity' when determining if the app is running in the foreground.
#jira UE-214990
#rb Chris.Babcock
#fixVersion 5.4.3

[CL 34324458 by brendan lienau in 5.4 branch]
2024-06-12 17:42:19 -04:00
calvin zheng
00062a9f0b Fix Empty AppName causing archving fail
#jira UE-215113
#rb Josh.Adams

[CL 34324417 by calvin zheng in 5.4 branch]
2024-06-12 17:41:33 -04:00
Chris Babcock
c7c3572a7d Change method of ordering AFS startup sequence (am start -W doesn't work for older Android)
#jira UE-215554
#android
#review @Jack.Porter
#rb ben.temple

[CL 34314118 by Chris Babcock in 5.4 branch]
2024-06-12 13:20:44 -04:00
vincent robert
6c72d503c7 Fix Event Manager in Single Buffer Mode
#jira UE-214607
#rb cedric.caillaud, benn.gallagher

[CL 33609506 by vincent robert in 5.4 branch]
2024-05-13 17:21:20 -04:00
daniele vettorel
7867038ff3 Include GPU breadcrumb data in Editor crash report payloads.
This change serializes the GPU breadcrumb data into the shared context so that it can then be retrieved by the crash report client and included in the final payload.

[CL 33548769 by daniele vettorel in 5.4 branch]
2024-05-09 12:17:10 -04:00
Joe Kirchoff
c8c16475f4 UBA: Handle UBA exitcodes in UBT, fix ::CreateFileMappingW failure for zero-length files, fix CreateDirectory/RemoveDirectory not properly implemented for temp directory paths
#rnx
#jira UE-213542
#rb henrik.karlsson

[CL 33459708 by Joe Kirchoff in 5.4 branch]
2024-05-06 12:30:10 -04:00
Joe Kirchoff
361f2a20fd UnrealBuildTool: Fix /analyze not being applied to -SingleFile when the module contains generated cpp files
#jira UE-213788
#rb henrik.karlsson

[CL 33459034 by Joe Kirchoff in 5.4 branch]
2024-05-06 12:12:29 -04:00
randy jones
37d3966f8a [UGS]: Update some UnrealGameSyncLauncher paths that no longer exist
#p4v-cherrypick 33272652

[CL 33458376 by randy jones in 5.4 branch]
2024-05-06 11:54:44 -04:00
JeanLuc Corenthin
0aba9cc6df Merging CL 32819801 from UE5/Main UE5/Release-5.4
#rb marc.audy
#rnx

[CL 33043543 by JeanLuc Corenthin in 5.4 branch]
2024-04-17 14:33:24 -04:00
JeanLuc Corenthin
a89126a18a Merging CL 32537753 from UE5/Main UE5/Release-5.4
#rb marc.audy
#rnx

[CL 33040973 by JeanLuc Corenthin in 5.4 branch]
2024-04-17 13:11:26 -04:00
JeanLuc Corenthin
ecb7d4833e Merging CL 32753683 using UE5_Main_to_5_4
#rb marc.audy

[CL 33040966 by JeanLuc Corenthin in 5.4 branch]
2024-04-17 13:11:07 -04:00
kerim borchaev
7cf7d2bd8c [Sketchup] Add support for Sketchup 2024
#jira UE-206381
#rb JeanLuc.Corenthin

[CL 33040631 by kerim borchaev in 5.4 branch]
2024-04-17 13:01:29 -04:00
kerim borchaev
9946a6490e [Rhino Exporter] Rhino8 support
#jira UE-195620

#rb JeanLuc.Corenthin

[CL 33038119 by kerim borchaev in 5.4 branch]
2024-04-17 11:48:26 -04:00
Ben Marsh
3c87fc8aea UGS: Fix command line crash on Linux due to IHordeClient not being registered.
#jira UE-212235

[CL 32941892 by Ben Marsh in 5.4 branch]
2024-04-12 15:56:21 -04:00
Ben Marsh
dd88029abf Merging fixes to Perforce library initialization, and missing dispose call for Perforce connections, causing Horde/UGS crashes after running for an hour or two. (From CL 32886123, 32864175)
See notes on these pages:

https://www.perforce.com/manuals/v23.1/p4api/Content/P4API/p4libraries.html
https://www.perforce.com/manuals/v23.1/p4api/Content/P4API/chapter.clientprogramming.signaler.html

#jira UE-212206

[CL 32933127 by Ben Marsh in 5.4 branch]
2024-04-12 12:18:22 -04:00