Musescore crashes on starting if deleting .mscz file that has been created in previous session

• Jan 28, 2021 - 16:51
Reported version
3.6
Type
Functional
Frequency
Once
Severity
S2 - Critical
Reproducibility
Always
Status
closed
Regression
No
Workaround
Yes
Project

Steps to reproduce the bug:
1) Create a new project
2) Save it
3) Leave opened in Musescore only that project and close the program
4) Delete project's .mscz file (backup folder is empty)
5) Open Musescore
6) Musescore will says previous file doesn't exist. It will crash and trying to restore session won't work.

OS: Windows 10
Musescore version: 3.6.0.487915773

Workaround:
Open a pre-existing .mscz. Choice in restoring dialog doesn't matter

Notes:
Tried also with MuseScoreNightly-202101120440-master-7e2fdaa-x86_64
About nightly version, Musescore 4 just doesn't show previous project if it's been deleted (but it will show up again if restored), so behaviour seems to be correct.


Comments

I'm doing this quite often (MuseScore set to continue with last session, deleting the file and restarting) I do get the message that the file doesn't exists, but so far it never crashed.
Or is that only happening with 3.6.0? (which is outdated by now, 3.6.1 is available)
Master/MuseScore 4 is not there yet, no need to test there