I can't seem to get my debug window to open?

4.3

Essentially what it says in the title. Whenever I go to hit the Play Scene button, it pretends to load for a hot second and then nothing happens. The window doesn’t open. There are no error messages, nothing to suggest that there’s a problem, outside of the fact that it just doesn’t open. This is the first time this has happened to any of my projects, so I’m a little blindsided.

I’ve tried everything I can think of - clearing out the disk for some extra space, clearing the cache, even restarting and reopening Godot. I’m not really sure what’s wrong or how else I could try to fix this. I guess worse comes to worst I’ll have to make another project, but I’d rather not if I can avoid it.

Can you describe better the scene? What are in the scene?

Are you using windows and do you have a usb device plugged in

I have several scenes, none of which open. Some are menus, some are character controllers and background test levels. None of them open. If you need me to send a screenshot in a bit I can do.

I use win 11 and have several USB devices plugged in. It’s never affected a project before though.

If you add print statements to a scene are they displayed?

I’m curious as to whether it is possible to pinpoint what is failing.

Has that project run properly before? Is this something new? If so, what was worked on between the moment it worked and when it stopped.

A thing you can do is go to town with using the print() statement. Print every line if you have to until you find what’s going on. In a case like this, there isn’t much you can do. A breakpoint could also work, providing it gets there.

Thanks guys! Idk what changed since I posted this topic but suddenly it decided to be functional when I went to go check this evening. I’m gonna chalk it up to a fluke/weird bug, because it’s worked up to now and has since been working, it was just having a moment today I guess? :person_shrugging:

2 Likes

It’s a known issue that having certain USB peripherals on Windows can cause a project to take a really long time to load. I’m not sure if that was your issue but here’s the GitHub issue

I used to have to restart my computer when I ran into this issue but unplugging the USB device fixes it

Thanks that’s actually really helpful! Which USB peripherals tend to trigger the bug he most frequently, so I know what to look out for?

No clue but i have to unplug my headset to fix it. The github issue i linked says it has a solution but it doesn’t work for me :skull:

Alright, well I’ll keep an eye on my peripherals from now on. Thanks again for the heads up :slight_smile: I hope you find a way to fix it without unplugging your headset.

1 Like