Commit Graph

329 Commits

Author SHA1 Message Date
Jerome Delattre
77b2e6e848 Always log an error when a plugin fails to load.
#jira none
#preflight 633f38ecb20780acc1b3da78
#rnx
#rb Mike.Beach

[CL 22383369 by Jerome Delattre in ue5-main branch]
2022-10-06 16:41:34 -04:00
mike beach
cd4927795c Removing superflous error popup, which as a modal dialog blocks the editor (was causing issues when reading .uplugin file in the middle of downloading).
#rb Francis.Hurteau

[CL 22344660 by mike beach in ue5-main branch]
2022-10-04 20:59:34 -04:00
steve robb
b307ff8670 Fix for merge error due to changed AllPlugins container type.
#rb none
#jira UE-165449
#preflight 63357795e410691606b0a055

[CL 22260799 by steve robb in ue5-main branch]
2022-09-29 20:32:58 -04:00
elizabeth baumel
5c94e27b3c Add missing LLM tracking tags. Went from >40000 untagged allocations to about 4400 in QA game. Most of the untagged allocations were CVars. The remaining untracked allocations are largely from dynamic initializers and static/const data.
#rb kenzo.terelst
#jira UE-155266
#jira UE-155196
#preflight 6334ab8eee7b13756dcee727

[CL 22240429 by elizabeth baumel in ue5-main branch]
2022-09-28 22:21:04 -04:00
Dave Belanger
453d3b16dd UE::Core::FVersePath added.
New asset tag added for vpaths, displayed in the content browser.

#rb dave.belanger
#preflight 63330acea4769ad714f8ea2d

[CL 22228539 by Dave Belanger in ue5-main branch]
2022-09-28 15:09:48 -04:00
lauren barnes
eee3023cdd Adding https:// conditions to links in the Plugin Browser
#rb Brooke.Hubert, Joe.Barrett
#jira UE-164340

[CL 22224791 by lauren barnes in ue5-main branch]
2022-09-28 12:28:19 -04:00
justin marcus
c2b306fdea Limit loading phase ensures to !UE_EDITOR configurations.
We now know what mode we are running in before AppInit() in other configurations.

[REVIEW] [at]Rex.Hill [at]Jules.Blok


#preflight 631a2e66a20b67673b9aaaa2

[CL 21916063 by justin marcus in ue5-main branch]
2022-09-09 00:55:42 -04:00
bryan sefcik
cb0456c6d4 Cleaned up build.cs files by removing any include paths that were already being added by UBT. This was done to help identify how include paths are being added and to help with future refactoring.
#jira
#preflight 631a5c04967ffc68fbf0dd8f

[CL 21911226 by bryan sefcik in ue5-main branch]
2022-09-08 21:44:02 -04:00
Mike Beach
a2d0fd7f46 Undoing some questionable plugin manager changes, which encouraged "chicken-and-egg" plugin scenarios (a plugin which could introduce more auto-loaded plugins).
Instead, expanding the explicit mounting behavior, providing alternative signatures to MountExplicitlyLoadedPlugin(), encouraging users to use the already established way of dynamically mounting plugins.

#rb francis.hurteau, tim.smith
#preflight 631947d3ab25bb91f54e9ae6

[CL 21897944 by Mike Beach in ue5-main branch]
2022-09-08 13:58:18 -04:00
jessica agee
403f029bd7 Set UnsafeTypeCastWarningLevel to Error for a few widely-used modules
#rb none
#preflight 630d013af92416fb926b3c7a
#preflight 630d0938e54ec9d5815ebb45

[CL 21696478 by jessica agee in ue5-main branch]
2022-08-30 02:22:04 -04:00
Martin Sevigny
6cd884301a Fix problem with Platform Extensions that are not calling StartupModule on added modules. Problem reported on UDN.
#jira none
#rb David.Harvey
#preflight none

[CL 21516620 by Martin Sevigny in ue5-main branch]
2022-08-23 15:15:36 -04:00
dave belanger
0887ee1429 IPlugin::GetVersePath
#rb none
#preflight skip

[CL 21512124 by dave belanger in ue5-main branch]
2022-08-23 13:06:38 -04:00
devin doucette
eb55a547d0 Fixed unsafe type casts in a few widely-used modules
#preflight 62f72b49185b21882ac5c366
#rb Steve.Robb
#rnx

#ROBOMERGE-AUTHOR: devin.doucette
#ROBOMERGE-SOURCE: CL 21404445 via CL 21404453 via CL 21404464
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v975-21357124)

[CL 21407133 by devin doucette in ue5-main branch]
2022-08-16 12:35:53 -04:00
martin sevigny
2126b5cdec [Backout] - CL21321663
#fyi Martin.Sevigny
Original CL Desc
-----------------------------------------------------------------
Fix problem with Platform Extensions that are not calling StartupModule on added modules. Problem reported on UDN.

#jira none
#rb David.Harvey
#preflight 62f3e6d5bc175ec68c4717d7

[CL 21324333 by martin sevigny in ue5-main branch]
2022-08-10 15:41:44 -04:00
Martin Sevigny
2ddf750a2c Fix problem with Platform Extensions that are not calling StartupModule on added modules. Problem reported on UDN.
#jira none
#rb David.Harvey
#preflight 62f3e6d5bc175ec68c4717d7

[CL 21321663 by Martin Sevigny in ue5-main branch]
2022-08-10 13:22:22 -04:00
henrik karlsson
3d2cb1ce91 [Engine Runtime]
PluginManager - Disabled ini file find caching for all windows configs (not only editor).. this should probably be disabled for everything but since I can't test it easily I will leave that to someone else to change.

This saves ~3 seconds of loading in to some Epic games

#rb Josh Adams
#preflight skipped

#ROBOMERGE-AUTHOR: henrik.karlsson
#ROBOMERGE-SOURCE: CL 21277482 via CL 21292916 via CL 21293206 via CL 21293352
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21296402 by henrik karlsson in ue5-main branch]
2022-08-09 15:44:05 -04:00
Bryan sefcik
b4a6e947d8 Ran IWYU on Public headers under Engine/Source/Runtime/...
Headers are updated to contain any missing #includes needed to compile and #includes are sorted.  Nothing is removed.

#ushell-cherrypick of 21065896 by bryan.sefcik
#preflight 62d4b1a5a6141b6adfb0c892
#jira

#ROBOMERGE-OWNER: Bryan.sefcik
#ROBOMERGE-AUTHOR: bryan.sefcik
#ROBOMERGE-SOURCE: CL 21150156 via CL 21151754 via CL 21154719
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 21181076 by Bryan sefcik in ue5-main branch]
2022-07-20 11:31:36 -04:00
mike beach
b8e0e2682c Fixing issues with plugins, where calling RefreshPluginsList() could discard previously enabled versions of a plugin (when there are multiple version of the same plugin).
#rb Tim.Smith, Francis.Hurteau
#preflight 62c63458b47aed4cf12ec0c7

#ROBOMERGE-OWNER: david.hibbitts
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20985176 via CL 20990831 via CL 20991137
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21002412 by mike beach in ue5-main branch]
2022-07-08 02:51:02 -04:00
marc audy
cd4b7d3c78 Game user settings fix and rollback of 20905839, which was itself a rollback of 20029182
#rb [at]Josh.Adams
#preflight

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: mic.rooney
#ROBOMERGE-SOURCE: CL 20973575 via CL 20978259
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)
#ROBOMERGE-CONFLICT from-shelf

[CL 20980862 by marc audy in ue5-main branch]
2022-07-07 01:55:35 -04:00
mike beach
823cfda241 Making some optimizations to plugin discovery in the plugin manager.
Uses the assumption that there shouldn't be other .uplugin files nested under the top level .uplugin directory (no nested .uplugins).

#rb Tim.Smith
[FYI] Matt.Johnson
#preflight 62be4fbf8d5e67875900323e

#ROBOMERGE-OWNER: david.hibbitts
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20947488 via CL 20954138 via CL 20954694
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20956964 by mike beach in ue5-main branch]
2022-07-05 22:35:43 -04:00
mic rooney
f5a58f4e71 Temp backout while Josh is out so that we don't break workflows and he can re-backout/unrevert this when he's back in.
* Contains some selected back outs from other cls that included config context dependent changes, though it's limited to only backing out broken parts as much as possible to minimize surface area.

[Backout] - CL20029182
[FYI] josh.adams
Original CL Desc
-----------------------------------------------------------------
- Adding FConfigContext which is used to repalce LoadExternalIniFile, LoadLocalIniFile, etc, as well as have localized data for all configs read on a thread (like the other platform configs loaded in the editor)
- The Load*IniFile functions will create a Context, but eventually those APIs will go away and the Context will be the only way to load ini files
- Simplified some of the ini loading code, like removing the HierarchyCache (it wasn't helping editor load times, and added much complexity, and was not thread-safe, and it shouldn't actually be helpful because all the calls to Load*IniFile should eventually be replaced with either GConfig or FCOnfigCacheIni::ForPlatform(), which won't need to re-read in files
- Ini reading time actually went down due to the simplification, including Cache removal
- Left in old code for now behing a #define (USE_CONTEXT) in case something goes wrong
- Added in VERIFY_CONTEXT mode which I used to run original and Context modes and compare (including preflighting builds) (I also added a Compare function that we may want to keep around to use for future debugging)
- Added a separate set of config layers for plugins which speeds up plugin parsing, but also will fix the issue with BaseEngine.ini vs DefaultEngine.ini in Engine vs Project plugins (this shows how Contexts can bring useful information down into the guts - however a later change will enable it)
- Once this is all seen to be working, I will clean up the non-Context functions, and some globals vs static members, etc
#rb paul.chipchase
#preflight 62716c1c5e6ce673f452005a


#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 20029165 via CL 20029180 via CL 20905839 via CL 20905880
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20908094 by mic rooney in ue5-main branch]
2022-06-30 20:54:32 -04:00
mike beach
f03de94c79 Fixing misconfigured ensure (which was blocking functionality).
[FYI] Votch.Levi

#ROBOMERGE-OWNER: mike.beach
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20846649 via CL 20848564 via CL 20848577
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20849663 by mike beach in ue5-main branch]
2022-06-28 03:10:32 -04:00
mike beach
633a592bfd Providing a way for external systems to extend the plugin configuration process.
#rb Tim.Smith
#preflight 62ba031e4209c7c579e14e50

#ROBOMERGE-OWNER: mike.beach
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20845730 via CL 20847881 via CL 20847947
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v971-20777995)

[CL 20849238 by mike beach in ue5-main branch]
2022-06-28 02:45:09 -04:00
mike beach
3720eebcf6 Adding the ability to supply multiple versions of a named plugin to UE (defaulting to the latest), along with the ability to reference a specific version.
#rb Francis.Hurteau, Tim.Smith
[FYI] Francis.Hurteau, Tim.Smith, matt.johnson, votch.levi
#preflight 62acf450d35e30c5cf2e0a54

#ROBOMERGE-OWNER: mike.beach
#ROBOMERGE-AUTHOR: mike.beach
#ROBOMERGE-SOURCE: CL 20739405 via CL 20742266 via CL 20762166
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v970-20704180)

[CL 20764079 by mike beach in ue5-main branch]
2022-06-21 15:52:51 -04:00
andrew scheidecker
1218625098 Changed boolean property bVersePublicApi on Build.cs and uplugin files to an enum named VerseScope with three states InternalAPI, PublicAPI and User.
Submitting on behalf of Markus.Breyer.

#rnx
#rb Markus.Breyer, Graeme.Thornton, Eric.Knapik
#preflight 62a74175af7ad033effb81ad

#ROBOMERGE-OWNER: andrew.scheidecker
#ROBOMERGE-AUTHOR: andrew.scheidecker
#ROBOMERGE-SOURCE: CL 20629231 via CL 20629334 via CL 20629474 via CL 20629523
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v955-20579017)

[CL 20636288 by andrew scheidecker in ue5-main branch]
2022-06-13 18:37:53 -04:00