MakeSureMapNameIsValid will take in a FString, look for an asset matching that FString and edit it to match the asset path of the asset found. This issue is caused by the function not limiting its search to .umap files. This issue only occurs if the map name is the same as an asset in Engine Content.

Regression?: No
This also occurred in 4.14

Steps to Reproduce
  1. Download/unzip/compile/open the attached project
  2. Press play
    Result: The asset path output points to an audio asset in Engine Content rather than the Level (.umap) of the same name
    Expected: The asset path output matches the level of the same name

Have Comments or More Details?

Head over to the existing AnswerHub thread and let us know what's up.

Login to Vote

Cannot Reproduce
Affects Versions4.144.154.16
CreatedMay 23, 2017
ResolvedDec 20, 2017
UpdatedJul 14, 2021