–1 vote

I try to open some projects and godot just closes, and I can't run any projects

shows this:

--- Debugging process started ---
--- Debugging process stopped ---

Godot version 3.4.2
in Engine by (21 points)
edited by

1 Answer

0 votes

I'm not sure if this is the same issue I've had in the past, but if there are broken references in your project.godot file, it can make the editor close immediately... i'm not sure exactly when this happens, but I've had to edit my project.godot files several time when things went wrong... there might be an Autoload script, or a plugin that's crashing. Usually godot just figures it out, but sometimes if you move files around while the editor is closed, it can't resolve the references and crashes (although usually in those cases it just asks you to locate the missing files)

Also, check if any of your scripts use the "tool" keyword at the top... one time I had a "queue_free()" call in the one of my tool scripts that was closing the editor itself.

by (1,290 points)

Even in new projects this occurs, I can not run. I just installed the new version of godot so I don't know what could be going on : (

Oh. strange. ok.

Things that might be going wrong:
- Something to do with your graphics drivers. If you're using a laptop and have Optimus, sometimes there's issues with godot not being able to initialise the graphics

  • Have you tried a previous build of godot? we're on 3.4.2 now, but even 3.4 might behave differently

  • One thing to test, if you know how, is to run godot from command line (on windows it's godot.exe -e ) then you'll be able to see if the console says anything that's helpful.

  • Is it just when you load projects? are you able to see the project selection window where you can create a new project? or does it exit before that?

Which operating system are you on?

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 webmaster@godotengine.org with your username.