godotengine / godotengine/godot

[mac] Godot Editor Stops Responding When Trying to Save & Close After Moving Project Location

Open
#87,450 0 comments 0 reactions 0 assignees View on GitHub
bug crash platform:macos topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Mac 14.2.1 (23C71) - Apple M1 Max

### Issue description

When editing a Godot project and moving the project folder outside the editor (ex: rename the root project folder), attempting to save-and-quit results in an unresponsive app that I need to force-quit to close.

### Steps to reproduce

1. Create a project
2. Confirm project in file location
3. Edit project
a. Change something in project so a save will need to trigger when trying to close
4. In terminal, change the project folder to new name (ex: `test` -> `test_changed`)
5. From the Godot editor, hit Cmd + Q to initiate a close
6. Click `Save & Close`
7. Observe beachball of death as the application stops responding

Side note: I have been able to reproduce this a few times, but once it had a pop-up saying that the project had moved, but upon clicking `Ok` button, the same unresponsiveness happened

### Minimal reproduction project (MRP)

Works on any newly created project from (I tested on 4.2.1 and it had the same behavior regardless of render type)

[test.zip](https://github.com/godotengine/godot/files/14002782/test.zip)

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named. Start by reproducing the issue with a newly created project, rename its folder externally, then use Cmd + Q and Save & Close. Done means the Godot editor remains responsive and closes successfully after the project location changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.