Crash When Editing Platform with Missing Game Directory

Summary:

LaunchBox may crash when attempting to edit a platform if its associated games directory is not available (e.g., located on an unplugged external drive).

Steps to Reproduce:

  1. Set a platform’s games directory to a path on an external or removable drive.

  2. Unplug or unmount the drive.

  3. Right-click the platform in the sidebar and select Edit.

  4. LaunchBox throws an error and crashes.

Error Example:

“A directory could not be created: [path to game]”

“Could not find part of the path ’[path to game]’.”

Impact:

Users cannot edit platform metadata (e.g., name, year, notes) unless all referenced directories are mounted and accessible. This behavior blocks even non-directory-related edits and makes it difficult to correct or update platform paths.


🛠 Status:

Known Issue – Under Investigation

TWe’re aware of this issue and have identified that it stems from a lower-level part of the code that attempts to access game directories during platform edits. While the ideal behavior would be to gracefully handle missing paths, addressing this would involve significant changes with some risk.

At this time, it’s under investigation for a possible future fix, but due to complexity and limited impact for most users, it hasn’t been prioritized yet.

Affected Product
LaunchBox for Windows
OS Version
Windows 11
LaunchBox Version
13.22
Plugins
NA

Please authenticate to join the conversation.

Upvoters
Status

Investigation

Board
🐛

Bug Report

Tags

Known Issue

Date

7 months ago

Author

AstroBob

Subscribe to post

Get notified by email when there are changes.