The if/else statement that defines GetLocalizationTargetByName has the same code in both the if portion and else portion. This means that the same code is executed regardless of the evaluation of the "if()" statement.

Steps to Reproduce
  1. Open Engine Source code (UE4.sln)
  2. Navigate to Source/Editor/Localization/Private/LocalizationModule.cpp

The first if and corresponding else contain the same set of code.

Code in the else statement refers to GameTargetSet rather than EngineTargetSet

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentUE - Editor - UI Systems - Localization
Affects Versions4.12.5
Target Fix4.14
Fix Commit3064795
Main Commit3082411
CreatedJul 8, 2016
ResolvedJul 26, 2016
UpdatedMay 2, 2018