Commit Graph

134 Commits

Author SHA1 Message Date
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
josh adams
72af803c6a - Fixed up the whitelist/blacklist logic of child plugins. It was incredibly broken before, where in non-staged builds (UnrealPak was one), the host platform would be blacklisted by a random child plugin
#rb ben.marsh,david.harvey
#jira UE-90679


#ROBOMERGE-SOURCE: CL 12371365 via CL 12371367
#ROBOMERGE-BOT: (v671-12333473)

[CL 12371368 by josh adams in Main branch]
2020-03-23 11:21:00 -04:00
bob tellez
7dff64fb44 #UE4 Write the target-enabled/disabled plugins lists to the target receipt instead of compiling it into the executable in non-monolitic editor builds. This allows them to be used in shared build environments
#rb Ben.Marsh


#ROBOMERGE-SOURCE: CL 12233987 via CL 12241649
#ROBOMERGE-BOT: (v667-12241502)

[CL 12242840 by bob tellez in Main branch]
2020-03-18 07:04:23 -04:00
jamie dale
548af0a8ff Refresh the package localization cache when a plugin is manually mounted via MountPluginFromExternalSource
#ROBOMERGE-SOURCE: CL 12143120 via CL 12143122 via CL 12143123 via CL 12143126
#ROBOMERGE-BOT: (v659-12123632)

[CL 12143127 by jamie dale in Main branch]
2020-03-11 18:26:01 -04:00
ben marsh
ffd2f1ede7 Fix detection of engine modules being out of date.
#rb none
#jira UE-88824, UE-89676

#ROBOMERGE-SOURCE: CL 11658206 in //UE4/Release-4.25/... via CL 11658244
#ROBOMERGE-BOT: RELEASE (Release-4.25Plus -> Main) (v656-11643781)

[CL 11658322 by ben marsh in Main branch]
2020-02-27 11:10:22 -05:00
Matt Peters
40f55732ba #jira FORT-236167
[REVIEW]
#rb Graeme.Thornton
Optimize Pak file indices by computing the PathHashIndex in unrealpak rather than using strings at runtime.
This also removes the need to shrink the string indices for performance, which was triggering a bug due to unsynchronized multithreaded access.

#ROBOMERGE-SOURCE: CL 11442058 in //Fortnite/Release-12.00/... via CL 11442063 via CL 11442073 via CL 11442081

[CL 11443295 by Matt Peters in Main branch]
2020-02-14 09:53:05 -05:00
Josh Adams
aa9705149b Copying Private-LoadTimes-4.24 stream to Main. Biggest changes are in Materials/Shader memory freezing.
#rb none

[CL 11282608 by Josh Adams in Main branch]
2020-02-06 13:13:41 -05:00
bob tellez
36a4c66f6d #UE4 Added AddToPluginsList to IPluginManager. This will add a single plugin to the manager, which is more efficient than refreshing the entire list.
#rb Ben.Marsh


#ROBOMERGE-SOURCE: CL 11080030 via CL 11080092
#ROBOMERGE-BOT: (v637-11041722)

[CL 11080108 by bob tellez in Main branch]
2020-01-22 02:40:14 -05:00
ryan durand
0f0464a30e Updating copyright for Engine Runtime.
#rnx
#rb none


#ROBOMERGE-OWNER: ryan.durand
#ROBOMERGE-AUTHOR: ryan.durand
#ROBOMERGE-SOURCE: CL 10869210 via CL 10869511 via CL 10869900
#ROBOMERGE-BOT: (v613-10869866)

[CL 10870549 by ryan durand in Main branch]
2019-12-26 14:45:42 -05:00
marc audy
bfcbfc1ffa Allow projects to opt out of having enabled by default engine plugins enabled by specify DisableEnginePluginsByDefault in the uproject. This requires all plugins to be explicitly enabled and prevents upgrades from bringing new plugins in unexpectedly.
#jira


#ROBOMERGE-SOURCE: CL 10772231 via CL 10776004 via CL 10776035
#ROBOMERGE-BOT: (v610-10636431)

[CL 10776057 by marc audy in Main branch]
2019-12-17 16:37:25 -05:00
bob tellez
cff9c22c3a #UE4 Added bExplicitlyLoaded to plugin descriptors. When set to true, the plugin's content and code will not be mounted/loaded automatically at startup. Instead, it will be mounted when MountExplicitlyLoadedPlugin is called from project-specific code.
[FYI] Ben.Marsh


#ROBOMERGE-SOURCE: CL 10594310
#ROBOMERGE-BOT: (v607-10590470)

[CL 10594321 by bob tellez in Main branch]
2019-12-06 13:06:15 -05:00
graeme thornton
6004f4cf43 Don't try and load plugin manifests in editor builds
[FYI] ben.marsh


#ROBOMERGE-SOURCE: CL 10478321 via CL 10478322
#ROBOMERGE-BOT: (v605-10478255)

[CL 10478323 by graeme thornton in Main branch]
2019-11-28 08:19:10 -05:00
francis hurteau
9233a9447d Move ConcertSyncCore plugin Engine.ini plugin override to BaseConcertSyncCore.ini base settings to prevent the plugin from locking out saving of Engine.ini settings.
#jira UE-84869
#rb Jamie.Dale
#lockdown Cristina.Riveron

#ROBOMERGE-SOURCE: CL 10378698 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v594-10333955)

[CL 10378709 by francis hurteau in Main branch]
2019-11-22 15:01:47 -05:00
jamie dale
11c0b0d91a Fix localization conflict
#jira UE-84788
[FYI] Ben.Marsh
#rb none
#lockdown cristina.riveron
#rnx

#ROBOMERGE-SOURCE: CL 10318966 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10319070 by jamie dale in Main branch]
2019-11-20 10:08:00 -05:00
ben marsh
becd2b94d4 Rework checks for whether a temporary target is necessary to ensure the same code is used at runtime and in UAT.
#rb none
#jira UE-84440, UE-84444
#rnx

#ROBOMERGE-SOURCE: CL 10312968 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v593-10286020)

[CL 10312999 by ben marsh in Main branch]
2019-11-19 16:53:37 -05:00
jeff newquist
b37fd44761 Fixed platform extensions functionality for plugins
- Add AdditionalRestrictedFolders to FDataDrivenPlatformInfoRegistry
- Fixed FPluginManager::ReadAllPlugins() to scan AdditionalRestrictedFolders to find related platform directory for plugin
- Fixed FPluginManager::CreatePluginObject() complaining about existing plugin found twice (ignore if same source path)
- Fixed Plugins::TryMergeWithParent() handling for blacklist merge with child - if parent had blacklist but child didn't, child was incorrectly added to blacklist

#jira UE-82655
#rb josh.adams
#rnx

#ROBOMERGE-SOURCE: CL 9894962 in //UE4/Release-4.24/...
#ROBOMERGE-BOT: RELEASE (Release-4.24 -> Main) (v558-9892490)

[CL 9894965 by jeff newquist in Main branch]
2019-10-30 15:58:59 -04:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Ben Marsh
bbe9fecb2f Copying //UE4/Dev-Build to Dev-Main (//UE4/Dev-Main)
#rb none
#rnx

[CL 9053338 by Ben Marsh in Main branch]
2019-09-24 16:13:51 -04:00
Justin Marcus
a649926a35 Add plugin config overrides to config hierarchy so that changes from them don't get lost when reloading.
- Remove duplicate INI reloading hack from RuntimeOptions.  Instead make the INI global so that it is there at startup and gets properly patched by plugin loading.
- Remove conflicting INI settings from ESP.

[at]Daniel.Lamb [at]Josh.Adams
#rb @Josh.Adams


#ROBOMERGE-OWNER: Justin.Marcus
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 8929915 via CL 8929928 via CL 8929929
#ROBOMERGE-BOT: (v435-8929571)

[CL 8930015 by Justin Marcus in Main branch]
2019-09-20 12:45:15 -04:00
Ben Marsh
ed5e48d229 Store statically typed configuration and target type entries in plugin and module descriptors.
#rb none
#rnx

[CL 8579509 by Ben Marsh in Dev-Build branch]
2019-09-09 18:43:44 -04:00
Josh Adams
2eb5796bba - Revamped the Platform Extension plugin support to go back to just passing one directory to ReadPluginsFromDirectory now that the directory swap allows it
#rb ben.marsh

[CL 7954514 by Josh Adams in Dev-Build branch]
2019-08-12 17:59:42 -04:00
Ben Marsh
beb4519169 Rename EBuildConfigurations::Type to EBuildConfiguration.
#rb none

[CL 7937697 by Ben Marsh in Dev-Build branch]
2019-08-09 17:35:36 -04:00
justin marcus
2a8d042c81 Fix Plugin config stomping command line INI overrides.
[at]Daniel.Lamb

#ROBOMERGE-OWNER: ben.marsh
#ROBOMERGE-AUTHOR: justin.marcus
#ROBOMERGE-SOURCE: CL 7000877 via CL 7000914 via CL 7020168 via CL 7020250
#ROBOMERGE-BOT: BUILD (Main -> Dev-Build) (v367-6836689)

[CL 7093448 by justin marcus in Dev-Build branch]
2019-06-19 11:03:16 -04:00