0 votes

Randomly when I'm saving a scene the editor freezes. I have no clue as to why and the debugger/game is not opened. It just happens randomly when trying to save. It is possible, however, to force close it by closing the "cmd" window (not sure what to call it, but the black window).

Godot version stable mono 3.4.4
in Engine by (49 points)

Does the project have a bunch of 3D assets? The editor may be doing something to those assets. It could also be some problem with the filesystem. BTW, you closed the program with Windows' command prompt.

No it only has 2d nodes and what i meant with the "cmd" windows is the black terminal godot window (not sure if thats actually windows command prompt)

Most Probably Godot is saving or processing your scene in the background. If the scene is too heavy (MB) it takes time to save it. Ideally I always try to keep the debugger open. If this happens too often, try opening the project and the same scene with an external debugger (e.x: VSCode ) with --verbose --stdout --debug flags enabled to see what is going on.

Example: create a launch.json in .vscode folder

{
"name": "Debug Godot Project",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/godot.exe",
"args": [
"--editor",
"--path",
"[the path to your project root folder]",
"--verbose",
"--debug",
"--stdout"
],
"stopAtEntry": false,
"cwd": "${workspaceFolder}",
"environment": [],
"console": "internalConsole",
"visualizerFile": "${workspaceFolder}/platform/windows/godot.natvis"
//"preLaunchTask": "build godot editor in debug mode"
},

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.