Skip to content

Fix skin saving crashing if hashable files are not present#36401

Merged
bdach merged 1 commit intoppy:masterfrom
peppy:fix-skin-save-crash
Jan 20, 2026
Merged

Fix skin saving crashing if hashable files are not present#36401
bdach merged 1 commit intoppy:masterfrom
peppy:fix-skin-save-crash

Conversation

@peppy
Copy link
Copy Markdown
Member

@peppy peppy commented Jan 20, 2026

This ends up with a bit of an undefined behaviour, but it's already a bit of an edge case (files missing in the files folder that are references in the database).

First and foremost, let's stop the exception. If we allow it to throw, it's impossible to exit the skin editor in this state.

Closes #36135.

This ends up with a bit of an undefined behaviour, but it's already a
bit of an edge case (files missing in the `files` folder that are
references in the database).

First and foremost, let's stop the exception. If we allow it to throw,
it's impossible to exit the skin editor in this state.

Closes ppy#36135.
@peppy peppy added type/reliability Deals with game crashing or breaking in a serious way. area:skin-editor quick fix Tasks which were taken on because they take no time to fix labels Jan 20, 2026
@peppy peppy moved this from Inbox to Pending Review in osu! team task tracker Jan 20, 2026
Copy link
Copy Markdown
Collaborator

@bdach bdach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not gonna think about this too hard

@bdach bdach merged commit ae1402c into ppy:master Jan 20, 2026
7 of 9 checks passed
@github-project-automation github-project-automation bot moved this from Pending Review to Done in osu! team task tracker Jan 20, 2026
@peppy peppy deleted the fix-skin-save-crash branch January 21, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:skin-editor quick fix Tasks which were taken on because they take no time to fix size/XS type/reliability Deals with game crashing or breaking in a serious way.

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Cannot edit skin in the editor but playing real osu

2 participants