Description

Game feature plugins load config files in a different way than normal plugins, which is confusing and can lead to broken behavior unless the developer knows about these issues ahead of time. The loading path for override config files named "PluginNameGame.ini" may need to be special cased, but the loading process for "PluginName.ini" should work the same as normal plugins. Game feature plugins are different because they use LoadExternalIniFile and bypass the config hierarchy so the files are loaded as if they were from the saved folder. This causes two issues:

  1. The file needs to be named "PluginName.ini" instead of "DefaultPluginName.ini" to load properly. This is different than other plugins
  2. Because they bypass the config cache, normal syntax like "+ClassRedirects" will not work, and you need to use "ClassRedirects" on it's own which does not match documentation

This issue is somewhat similar to [Link Removed], which was a related issue where engine and game plugins loaded from different config files

Steps to Reproduce
  1. Unzip attached project into it's own folder named UE5MainBlank
  2. Regenerate solution, then compile UE5MainBlank
  3. Launch the UE5MainBlank editor
  4. Open the content browser and enable show plugin content to see the game feature plugins
  5. Try to edit the asset /GameFeatureTest/BPMyDerivedActor
  6. If the config loading is working properly it will load the blueprint editor, if it is broken it will fail to load because it did not parse the UE5MainBlank\Plugins\GameFeatures\GameFeatureTest\Config\DefaultGameFeatureTest.ini file

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-163425 in the post.

1
Login to Vote

Fixed
ComponentUE - Gameplay
Affects Versions5.05.1
Target Fix5.1
Fix Commit22117668
Main Commit22121064
Release Commit22117668
CreatedSep 9, 2022
ResolvedSep 21, 2022
UpdatedOct 20, 2022
View Jira Issue