Moving starting maps to a new location breaks editor startup map

If you move a map file which is a starting map (set to be the EditorStartupMap in the project settings) it breaks and the editor can no longer open the map on startup. I believe this is because the redirector the editor creates is an asset, so things which are checking for maps get confused. Additionally, if you clean up redirectors, the link to the EditorStartupMap gets nulled instead of redirected to the proper location. (I’m assuming this is because redirector cleanup isn’t working properly in inis?)

Repro:

  1. Create a map, and set it to be the Editor Startup map in the Project settings.
  2. Close and reopen the editor. Confirm the editor startup map opens correctly.
  3. Drag the map to a new location in the content browser, select move when prompted.
  4. Close and reopen the map. Observe that you get the error “Failed to load map!
    appears to be an asset file.”
  5. Close and reopen the editor, observe the same thing happens (map doesn’t get nulled in the porject settings)
  6. Right-click the content folder, select “clean up redirectors”
  7. Open the project settings. Observe that rather than replacing the EditorStartupMap redirector with a direct link to the map, it has been nulled out instead.

Hello Teiwaz,

I was able to reproduce the issue that you are having on our end. I have written up a report and I have submitted it to the developers for further consideration. I have also provided a link to the to the public tracker. Please feel free to use the link provided for future updates. Thank you for your time and information.

Link: Unreal Engine Issues and Bug Tracker (UE-38448)

Make it a great day