Description

When an existing project is opened from a location where it hasn't been created on that machine, the Editor is unable to parse the project's location properly and fails to show it in the Project Browser UI that appears when the Editor is invoked without a project.

It seems that UEditorSettings::RecentlyOpenedProjectFiles was changed from an array of strings in UE4 to an array of FRecentProjectFile structs in UE5. However, the Project Browser doesn't use config object serialization to read this list. Instead, it directly reads the property from the INI file in DesktopPlatformBase.cpp, which now causes it to construct an invalid path from the serialized FRecentProjectFile object representation.

Steps to Reproduce
  • Open Unreal Editor without a Project
  • Create a new Unreal project, and then exit the Editor.
  • Move the project folder to a new location that is not under the same folder that it was originally created in. (Example: create as [Link Removed] then move to [Link Removed]
  • Reopen the Editor from the Launcher. The project should no longer appear in the Recent Projects view, which is expected. Manually browse to the project and open it.
  • Close and reopen the Editor, and notice that the project still does not appear in the Recent Projects view. This is unexpected.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-170187 in the post.

0
Login to Vote

Backlogged
ComponentUE - Editor - Framework
Affects Versions5.1
CreatedNov 15, 2022
UpdatedDec 5, 2022