I'm having problems with godot

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Morangodev

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 —

:bust_in_silhouette: Reply From: rossunger

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.

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 : (

Morangodev | 2022-01-27 17:28

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?

rossunger | 2022-01-27 17:38