When the "Restore Open Asset Tabs on Restart" option is turned on in the Editor Preferences window, closing the Editor while a debugger is attached appears to remove any saved asset tabs from the EditorPerProjectUserSettings.ini file. When this option is enabled, open asset tabs add an "OpenAssetsAtExit=/Path/To/Asset" entry to the EditorPerProjectUserSettings.ini file. All of these entries are deleted from the .ini file if the Editor is closed while a debugger is attached, even if asset windows are still open in the Editor when it is closed.

No. This same behavior was seen in 4.18.3.

Steps to Reproduce
  1. Open any project in the Editor.
  2. Open the Editor Preferences window.
  3. Navigate to Loading & Saving -> Startup and turn on the "Restore Open Asset Tabs on Restart" option.
  4. Open 2-3 Blueprint tabs (create new Blueprints if necessary).
  5. Close the Editor.
  6. Re-open the project in the Editor to verify the Blueprint tabs that had been open previously are re-opened.
  7. Start Visual Studio from the Windows Start menu or a desktop shortcut (ie. Do not open an existing solution).
  8. Attach the Visual Studio debugger to the running UE4Editor.exe process.
  9. Once the Visual Studio debugger is attached, close the Editor.
  10. After the Editor fully shuts down (ie. Visual Studio no longer shows any debug activity), re-open the project in the Editor.

The tabs that were previously open are not re-opened when the Editor starts.

The tabs that were previously open are re-opened when the Editor starts.

Have Comments or More Details?

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

Login to Vote

Affects Versions4.
Target Fix5.0
Fix Commit16452199
CreatedApr 17, 2019
ResolvedMay 25, 2021
UpdatedJun 1, 2021