Description

If you change a configurable variable's default value in DefaultEngine.ini, the change will be ignored in Standslone mode until you compile and save the variable's blueprint.

This causes inconsistency between the result in PIE vs Standalone. (Packaged game does not seem to have this issue)

Also setting bUseCompilationManager=False and bSkipUnneededDependencyCompilation=False can prevent issue. So this could be a compilation manager issue.

Steps to Reproduce
  1. Open the attached project
  2. Check both ConfigInteger variables in BP_ConfigActor and WBP_ConfigVariable have "123" as the default value, compile and save both blueprints
  3. Play the level as PIE and Standalone to confirm both the text render and the widget shows "123" value
  4. Close the project
  5. Edit Config/DefaultEngine.ini to change the default value of both ConfigInteger variables to "12345"
  6. Reopen the project
  7. Play the level as PIE and Standalone: PIE shows "12345" but Standalone shows "123" 
  8. (If you compile and save both blueprints, Standalone will show the updated value)

Have Comments or More Details?

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

3
Login to Vote

Won't Fix
ComponentUE - Gameplay - Blueprint Compiler
Affects Versions4.184.19
CreatedJan 29, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue