What's going on my output

Godot Version

Godot 4.5.1 stable

Question

I have no idea what’s wrong with my godot editor. I tried to print out but nothing was output. I asked the ai what was going on. The ai asked me to check the project Settings. I checked but found no problem. After I quit and re-entered the project, it was still the same.

The following picture shows me running it. I want to check the scene tree. I wonder if the node wasn’t loaded, but the scene tree can’t be seen either. Why is that? Do I need to uninstall the godot engine and download it again

Restarting your computer may fix the issue. The debugging server starts on port 6006 (which is very cool actually, I don’t know why Godot does that)

Some programs may have taken that port, so now Godot can’t use it.

FUN THING:
If you type localhost:6006 in your web browser while your Godot game is running, you’ll see this in the output:

[DAP] Connection Taken
[DAP] Connection Taken
[DAP] Connection Taken
[DAP] Disconnected
1 Like

Yes, you’re right.:grinning_face: thanks.I restarted my computer and when I opened my project again, it was completely fine, just like before. You said that when I run the project, I type localhost:6006 in my web browser. Does this require me to first export my project to the browser? Because if I input it directly in the browser, the browser cannot access it

1 Like

It also says in your output search field that you are filtering for 4 chinese characters.

If you filter for something, only the prints that matches the filter will be seen in the output.

Look just above the output tab at the bottom of the screen. Four chinese characters.

nope,I also thought that but OP is just using the Chinese editor.

It’s just for a fun trick lol, nothing important : )

2 Likes

The four Chinese characters that appeared in the output search bar mean message filtering. It is an automatic prompt that appears when focus search is enabled. I wasn’t searching for anything at that time. I switched to the English interface, thinking that Posting would be better for communication with everyone, but I didn’t notice that the search bar at the bottom was still in Chinese.So, it’s not the problem of these four Chinese characters.Don’t your editor have these prompt words?

1 Like

Yes it says something like “search” but when i type something in, the text replaces the prompt. Thats why i thought your prompt had been replaced. A misunderstanding!

1 Like

I thought it only happens to me lol!

1 Like

Once i zoomed out so far i could not find the scene i was working on again.

Ok. It was my first day using godot but still :sweat_smile:

1 Like

Thank you very much. It has been solved. The @tool you mentioned, I haven’t used it yet. Does it have a debugging function? I will learn about it next

It runs the script in the editor instead of in the game.