Commit Graph

156 Commits

Author SHA1 Message Date
ben zeigler
47ae005a33 Fix game feature issue with previous checkin, the game feature code was still looking for the old plugin location so it would end up writing out a corrupted partial ini to the saved folder
Remove code that was stripping Base and Engine as it could have other similar side effects in out of date config code
This code might need further updates for UE5, the only reason it worked before was because it was depending on the fact that Find would create a nonsaveable config file when passed a bad key
[CODEREVIEW] michael.noland
#rb none

#ROBOMERGE-SOURCE: CL 16962667 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16962687 by ben zeigler in ue5-release-engine-test branch]
2021-07-26 19:32:35 -04:00
ben zeigler
56e2b8afef Add GetConfigFilename to config cache that handles going from either Engine or CustomSystem to the right key filename
Fix spelling error and comments while I'm already modifying this code
Change calling sites that were doing this manually to use new function, and fix a bad merge in the plugin code
Add logic to strip Base and Default prefixes from plugin config overrides, as the old behavior with Find instead of FindConfigFile lead to that sometimes working by accident
I may update the handling of Base/DefaultPluginName.ini in a separate checkin to make that more consistent
#rb josh.adams

#ROBOMERGE-SOURCE: CL 16959529 in //UE5/Main/...
#ROBOMERGE-BOT: STARSHIP (Main -> Release-Engine-Test) (v838-16927207)

[CL 16959549 by ben zeigler in ue5-release-engine-test branch]
2021-07-26 15:01:13 -04:00
aurel cordonnier
02c0f425e8 Copy up from Release-Engine-Staging @ 16738359
This represents UE4/Main @ 16738161 and Dev-PerfTest @ 16737719

[CL 16738582 by aurel cordonnier in ue5-release-engine-test branch]
2021-06-22 00:27:54 -04:00
David Harvey
e581358a11 Add HasExplicitPlatforms property to uplugin definitions, allowing the SupportedTargetPlatforms and WhitelistPlatforms fields to be entirely defined in child plugins. The existing functionality means that an empty platform list implies "all platforms".
#jira UECON-417
#rb ben.marsh

[CL 16531379 by David Harvey in ue5-main branch]
2021-06-02 04:27:26 -04:00
aurel cordonnier
50944fd712 Merge UE5/RES @ 16162155 to UE5/Main
This represents UE4/Main @ 16130047 and Dev-PerfTest @ 16126156

[CL 16163576 by aurel cordonnier in ue5-main branch]
2021-04-29 19:32:06 -04:00
Marc Audy
01b7c9f4f5 Merge UE5/RES @ 15958325 to UE5/Main
This represents UE4/Main @ 15913390 and Dev-PerfTest @ 15913304

[CL 15958515 by Marc Audy in ue5-main branch]
2021-04-08 14:32:07 -04:00
Matt Peters
dcdbf940fa #jira UE-106431
Do not log an error if LoadModulesForEnabledPlugins is called multiple times in a row on the same phase, since this occurs for PreEarlyLoadingScreen.
#rb Graeme.Thornton
#robomerge Release-5.0-EarlyAccess
#rnx

[CL 15900315 by Matt Peters in ue5-main branch]
2021-04-02 07:32:21 -04:00
michael noland
57beb168bf Added an event for when plugins are edited and fixed some comments in IPluginManager.h
[CODEREVIEW] lauren.barnes
#jira UE-107640

#ROBOMERGE-SOURCE: CL 15871771 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v786-15839533)

[CL 15871783 by michael noland in ue5-main branch]
2021-03-31 01:35:03 -04:00
ionut matasaru
6e00b66460 Fixed duplicated "ConfigureEnabledPluginForCurrentTarget" cpu timer and added few more SCOPED_BOOT_TIMING in FPluginManager::ConfigureEnabledPlugins().
#rb Danny.Couture

[CL 15623504 by ionut matasaru in ue5-main branch]
2021-03-05 08:51:11 -04:00
Matt Peters
e3cba2cc3a Add IPluginmanager::GetLastCompletedLoadingPhase to support registering with OnLoadingPhaseComplete only if required loading phase has not yet happened.
#b Graeme.Thornton
#rnx

[CL 15076914 by Matt Peters in ue5-main branch]
2021-01-13 20:49:35 -04:00
Marc Audy
bf80889353 UE5/Release-Engine-Staging to UE5/Main
This represents UE4/Main up to CL# 14958402

[CL 15028197 by Marc Audy in ue5-main branch]
2021-01-08 19:56:07 -04:00
Marc Audy
ada7c144fa Merge //UE5/Release-Engine-Staging @14903491 to //UE5/Main
[CL 14906022 by Marc Audy in ue5-main branch]
2020-12-11 14:21:20 -04:00
Marc Audy
a7f9391231 Merge UE5/Release-Engine-Staging @ 14811410 to UE5/Main
This represents UE4/Main @ 14768117

For ReleaseObjectVersion.h
#lockdown Marcus.Wassmer

[CL 14811440 by Marc Audy in ue5-main branch]
2020-11-24 18:42:39 -04:00
Marc Audy
68150e0be7 Merge UE5/Release-Engine-Staging to UE5/Main @ 14611496
This represents UE4/Main @ 14594913

[CL 14612291 by Marc Audy in ue5-main branch]
2020-10-29 13:38:15 -04:00
Josh Adams
9095055d88 - Fixed up some known config file issues (no longer need to manually manage known config names in UObject::GetConfigName)
[CL 14573786 by Josh Adams in ue5-main branch]
2020-10-26 09:29:34 -04:00
Marc Audy
4c1bb11c29 Merge UE5/Release-Engine-Staging to UE5/Main @ 14548662
This represents UE4/Main @ 14525125 + cherrypicked fixes
#skipundocheck

[CL 14551026 by Marc Audy in ue5-main branch]
2020-10-22 19:19:16 -04:00
Marc Audy
50a3d7d368 Merge Release-Engine-Staging to Main @ CL# 14467590
This represents UE4/Main @ 14432125 + some cherrypick fixes

[CL 14468207 by Marc Audy in ue5-main branch]
2020-10-09 22:42:26 -04:00
geoff evans
68300df094 Jira: Opening the Project Settings for Fortnite causes a noticeable hitch in the editor
Remove CreateIfNotFound parameter to FConfigCacheIni::Find.

This was creating thousands of fstat calls peeking for the existence of Saved/Config/WindowsEditor/GameplayTagsEditorState.ini when opening the Project Settings dialog. This we make frequent calls (in a recursive manner) into the config system, but no file or config is created (where false is passed), and we keep statting it thousands of times

Callers that pass false for this fail to land on any config properties because they don't exist to begin with.

Callers that pass true for this still basically get what they want. Since we did not stub the file out upon Find(), there is no disk state difference between Find() and config system shutdown (where dirty config files are saved to disk). So saving is still manual, and there is no implication from
CreateIfNotFound communicated to the FConfigFile about whether it is meant to be saved or not. So by and large this semantic is meaningless except with the existence of the new config file of the config file map (which creates the optimization of skipping the subsequent stats).

SSettingsEditor::ReloadCategories before: 2290ms
SSettingsEditor::ReloadCategories after: 1669ms

Tested with a BuildCookRun of ShooterGame, and running with it in Editor for a few days.

#jira UE-95853

[CL 14258235 by geoff evans in ue5-main branch]
2020-09-03 19:07:58 -04:00
Marc Audy
7379fa99c5 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14229157
[CL 14233282 by Marc Audy in ue5-main branch]
2020-09-01 14:07:48 -04:00
Marc Audy
a7c9001a94 Merging //UE5/Release-Engine-Staging to Main (//UE5/Main) @ 14075166
#rb
#rnx

[CL 14075271 by Marc Audy in ue5-main branch]
2020-08-11 01:36:57 -04:00
Marc Audy
11f5b21210 Merging //UE5/Release-Engine-Staging @ 13752110 to Main (//UE5/Main)
#rnx

[CL 13753156 by Marc Audy in ue5-main branch]
2020-06-23 18:40:00 -04:00
Matt Kuhlenschmidt
603a4119c5 Fix HAL/PlatformFileManager.h non-portable casing CIS issues
#rb none

[CL 13214257 by Matt Kuhlenschmidt in ue5-main branch]
2020-05-06 17:58:18 -04:00
josh adams
90ff579ecc - UBT/C++ changes needed for new Restricted locations
- Does not have the changes for new .ini file locations
#rb ben.marsh

#ROBOMERGE-SOURCE: CL 12676628 via CL 12676630 via CL 12676633
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12676637 by josh adams in Main branch]
2020-04-08 15:07:46 -04:00
danny couture
d1373f79a0 Optimize directory iterations on startup
- Plugin discovery
    - 560ms to 50ms (warm cache)
    - 3.3s to 365ms (cold cache)
  - Source file discovery
    - 102ms to 23ms (warm cache)
    - 253ms to 41ms (cold cache)

  - Cold cache = Cleared standby pages, mostly equivalent to a reboot
  - Warm cache = 2nd run of 2 consecutive runs

#rnx
#rb Steve.Robb

#ROBOMERGE-SOURCE: CL 12670961 via CL 12670966 via CL 12670968
#ROBOMERGE-BOT: RELEASE (Release-Engine-Staging -> Main) (v675-12543919)

[CL 12672058 by danny couture in Main branch]
2020-04-08 10:12:11 -04:00
bob tellez
0f04c2631a #UE4 Add fallback if the target info doesnt contain known paths in the plugin manager. The target file is assumed to be either in the project or engine folder, preferring project
#ROBOMERGE-SOURCE: CL 12382316 via CL 12394568
#ROBOMERGE-BOT: (v671-12333473)

[CL 12394654 by bob tellez in Release-Engine-Staging branch]
2020-03-24 18:49:59 -04:00