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:
- Create a map, and set it to be the Editor Startup map in the Project settings.
- Close and reopen the editor. Confirm the editor startup map opens correctly.
- Drag the map to a new location in the content browser, select move when prompted.
- Close and reopen the map. Observe that you get the error “Failed to load map!
appears to be an asset file.” - Close and reopen the editor, observe the same thing happens (map doesn’t get nulled in the porject settings)
- Right-click the content folder, select “clean up redirectors”
- 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.