Describe the bug
Renaming a custom instance in the level editor will only change the instance ID in the main.xml, but not actually rename it's folder in levels/instances/. When trying to spawn the renamed instance, the game will crash since the instance doesn't have a level anymore.
Workaround is to manually rename the instance folder, but having it automatically rename would of course be much more convenient.
Steps to reproduce the issue
Create a custom instance.
Rename the instance via the project editor.
Spawn the renamed instance.
Crash.
Log file
No response
Minimal reproduction
No response