Description

If a [ or ], which are used for syntax in .ini files, are included in a folder name, problems occur when that filepath is used for anything that is recorded in .ini files. The example given in the repro steps causes the entry for the filepath to the newly set map to become incomplete due to these two characters.

I believe a more reasonable fix would be to stop users from including these characters in their folder names but it would also be helpful if the editor could catch this and handle it in some way.

Regression?: No
This also occurred in 4.13 and 4.14 and likely every version prior

Steps to Reproduce
  1. Open a project
  2. Create a new folder that contains [ and/or ] somewhere in the name
  3. Create a new level inside of this folder
  4. In Edit > Project Settings > Maps & Modes, attempt to set the new map to either of the two options
    Result: The field is populated by None as the entry in the .ini file is not correct due to the [ or ] in the folder name
    Expected: Either you are not allowed to include a [ or ] in your folder names in the editor or the editor has a way of handling this.

Have Comments or More Details?

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

0
Login to Vote

Won't Fix
ComponentTools
Affects Versions4.134.144.154.16
CreatedFeb 16, 2017
ResolvedAug 18, 2021
UpdatedAug 18, 2021