438 Commits

Author SHA1 Message Date
zach brockway
1e7eb6e4d1 Plugin Manager: Prioritize editor target receipts whose Launch executable matches the currently running executable.
Previously, the first (arbitrary) editor target receipt with a matching configuration was chosen.

This is necessary to disambiguate a second receipt for an editor target in the engine binaries directory, and matches existing logic used to determine the correct receipt in FEngineLoop::AppInit.

#jira UE-196216
#rb jeremie.roy, will.brown

[CL 36017174 by zach brockway in ue5-main branch]
2024-09-04 13:55:33 -04:00
henrik karlsson
00bbd5d9d8 [DesktopPlatform/UBA]
* Fixed so it is possible to run oidctoken.exe without having the engine environment set up.

[CL 34856190 by henrik karlsson in ue5-main branch]
2024-07-16 18:07:30 -04:00
henrik karlsson
74e7eb10b6 [DesktopPlatform]
* Explicitly send in basedir when running oidc tool instead of relying on cwd. Reason is because if we run horde through a UE application that has DISABLE_CWD_CHANGES set oidc won't work.

[CL 34789151 by henrik karlsson in ue5-main branch]
2024-07-09 13:35:02 -04:00
laura hermanns
415da1ca38 [Horde] Provide optional parameter to report source of Horde URL configuration.
There are several sources to configure the Horde server URL and this change provides that information in the log.
This adds an optional parameter to IDesktopPlatform::GetHordeUrl for compatibility.

An example of a successful Horde URL query in the log could be as follows:
"Getting Horde server URL succeeded [URL: https://your.horde.server.org/, Source: Engine INI configuration]"

#rnx
#rb Ben.Marsh, Ryan.Hummer

[CL 33940698 by laura hermanns in ue5-main branch]
2024-05-28 10:32:32 -04:00
rob perren
a99da34247 Add support for the cooked cooker to stage the .target file it is built with & for this file to be read by the editor
This allows dlls to be loaded based on the target file when not running in monolithic mode
#rb sebastian.schoner
#rnx

[CL 33653490 by rob perren in ue5-main branch]
2024-05-15 05:59:39 -04:00
laura hermanns
ac06606d17 [Horde] Add second fallback to find Horde server URL in BaseEngine.ini.
This adds "[Horde]:ServerUrl" section to BaseEngine.ini configuration as second fallback when UE_HORDE_URL is not defined as environment variable nor present in the registry (Windows) or .horde.json file (POSIX).

#jira UE-210043
#rnx
#rb Ben.Marsh

[CL 33610566 by laura hermanns in ue5-main branch]
2024-05-13 18:23:19 -04:00
ben marsh
008c8b08e6 Horde: Fix root path for launching OidcToken. Only affects log messages.
#rnx

[CL 33289288 by ben marsh in ue5-main branch]
2024-04-27 13:37:03 -04:00
ben marsh
c6569dffda Horde: Return exit code 11 from OidcToken if the specified Horde connection does not have auth enabled, allowing the editor to continue despite not having a valid OIDC token.
#jira UE-213464
#rnx

[CL 33289120 by ben marsh in ue5-main branch]
2024-04-27 13:00:28 -04:00
ben marsh
83d03ce93d Horde: Unify the locations probed for the Horde server URL setting between C# tools (Horde Agent, UBT, UGS, etc...) and C++ (Editor).
* On Windows, this setting is stored in the registry under HKCU/SOFTWARE/Epic Games/Horde/Url.
* On other platforms, this setting is stored in the $HOME/.horde.json file.

The setting is no longer persisted to the editor config file.

[FYI] Joe.Kirchoff, Laura.Hermanns

[CL 33281910 by ben marsh in ue5-main branch]
2024-04-26 18:03:52 -04:00
ben marsh
3589633e70 Horde: Fix URL comparison for using access token from the environment.
[CL 33156967 by ben marsh in ue5-main branch]
2024-04-22 19:52:36 -04:00
ben marsh
0a70a2d14e Horde: Add a setting for configuring the Horde server to the editor.
- Falls back to the UE_HORDE_URL environment variable or value configured in the registry from UGS if not set.
- Added support to OIDCToken for configuring using Horde settings using the --HordeUrl argument.
- Added overloads to HordeHttpClient to query auth settings from Horde itself.

#jira UE-211751

[CL 33009887 by ben marsh in ue5-main branch]
2024-04-16 14:55:33 -04:00
henrik karlsson
a45170b9dc [UBA]
* Refactored out uba horde integration to its own module called UbaCoordinatorHorde. This required some changes like callback registration to register helpers to uba host
* Added UbaCoordinatorHorde target in uba to be able to compile a coordinator for horde that can be used in UbaCli or other custom written uba tools

#rb laura.hermanns

[CL 32347975 by henrik karlsson in ue5-main branch]
2024-03-20 01:20:59 -04:00
anousack kitisa
6a8947ee4f Fixed typo in message log.
#jira UE-209142

[CL 32120514 by anousack kitisa in ue5-main branch]
2024-03-08 10:42:12 -05:00
will brown
89e769075b In editor, optional plugin dependencies need to be compiled enabled or command line enabled otherwise they are ignored. Updated UBT to write out the BuildPlugins names to the target receipt or compiled into the executable.
#rb Joe.Kirchoff, Justin.Marcus
[FYI] Eric.Knapik

[CL 31774544 by will brown in ue5-main branch]
2024-02-23 15:23:25 -05:00
josh adams
1490a189af - Split Mac target/deployment versions to have editor and non-editor versions
- Moved them into SDK.json
- Fixed up some deprecation warnings when tarrgeting macOS 13
- IOS is still using old .ini project setting method
#rb adam.kinge, carl.lloyd, zack.neyland

[CL 31651333 by josh adams in ue5-main branch]
2024-02-20 13:42:11 -05:00
florin pascu
b10df2c9a1 Re-submit Desktop Platforms TP Refactor TPC/TPS Windows/Mac/Linux/WINGDK
Section Names for Windows/Mac/Linux/WindGDK will use the old names for compatibility.
#jira UE-206488
#rb Brandon.Schaefer, Josh.Adams

[CL 31522656 by florin pascu in ue5-main branch]
2024-02-15 11:46:19 -05:00
florin pascu
aa7c58b0c7 [Backout] - CL31378447
[FYI] Florin.Pascu
Original CL Desc
-----------------------------------------------------------------
Desktop Platforms TP Refactor TPC/TPS Windows/Mac/Linux/WINGDK
#jira UE-206488
#rb Brandon.Schaefer, Josh.Adams

[CL 31397940 by florin pascu in ue5-main branch]
2024-02-12 16:14:58 -05:00
florin pascu
20bd6eddc1 Desktop Platforms TP Refactor TPC/TPS Windows/Mac/Linux/WINGDK
#jira UE-206488
#rb Brandon.Schaefer, Josh.Adams

[CL 31378452 by florin pascu in ue5-main branch]
2024-02-12 06:54:43 -05:00
steve robb
66266c6a11 Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
henrik karlsson
acc64ee23c [DesktopPlatform]
* Added exit code to error message when failing to run OidcToken.exe

[CL 30559330 by henrik karlsson in ue5-main branch]
2024-01-10 20:46:30 -05:00
ben marsh
3647ef962b Horde: Add a typed HTTP client for communicating with the Horde server. Removes boilerplate code for getting an access token, configuring request objects, and parsing responses. Synchronous for now.
[CL 30080857 by ben marsh in ue5-main branch]
2023-12-04 10:09:40 -05:00
ben marsh
f3ef3e01ac [Backout] - CL30069106
[FYI] Ben.Marsh
Original CL Desc
-----------------------------------------------------------------
Horde: Add a typed HTTP client for communicating with the Horde server. Removes boilerplate code for getting an access token, configuring request objects, and parsing responses. Synchronous for now.

[CL 30069215 by ben marsh in ue5-main branch]
2023-12-02 21:19:55 -05:00
ben marsh
e3248c1b3f Horde: Add a typed HTTP client for communicating with the Horde server. Removes boilerplate code for getting an access token, configuring request objects, and parsing responses. Synchronous for now.
[CL 30069108 by ben marsh in ue5-main branch]
2023-12-02 20:45:55 -05:00
steve robb
0bbd5e4d69 Fixed deprecated FString constructors.
#rb james.hopkin

[CL 29690489 by steve robb in ue5-main branch]
2023-11-13 14:15:15 -05:00
MihailPreis
06b72e3809 PR #9894: Adding support setting SteamDeck password
#jira UE-172321
#rb Josh.Adams
#tests Compiled/Run locally

[CL 29135178 by MihailPreis in ue5-main branch]
2023-10-26 10:43:53 -04:00