GD.Print doesn't print anything using c# when in child node , only prints when using Godot_v4.2.1-stable_mono_win64_console.exe

Godot Version

4.2.1 windows


Well i searched the web and there are many questions regarding to this . but none is worked for me
using c# with Godot_v4.2.1-stable_mono_win64.exe using visual studio 2022
when doing something like this in child node:

	GD.Print("Test debug script");

i don’t see any thing in the godot output window , also i changed the port in the Editor settings ,

but the only way to see the print is when im using : Godot_v4.2.1-stable_mono_win64_console.exe
then i can see it in the console window . but visual studio can’t initiate debug only run .

I did simple project in mono version ,
When doing single node3d in project it is printing the log .
But when i add CharacterBody3D and attach script to it with simple

public override void _Ready()
      GD.Print("Hello from CharacterBody3D");

It doesn’t print any thing

in short i need to be able to debug and see the prints .


it can be either your godot is bugged or it’s just

never really true,

did you try GD.Print on ready?

1 Like

its true very true . i run it with debugger also and did simple GD.Print all over .

1 Like

Firstly, confirm that you have the Godot Tools extension installed in Visual Studio. This extension facilitates the debugging process.

Next, ensure that your project settings are configured for debugging. In Visual Studio, go to the “Debug” menu, select “Options,” and navigate to “Debugging” → “General.” Make sure that “Redirect all Output Window text to the Immediate Window” is checked.

I did it

but still no output

or here :

your topic should have information your problem is with “Visual Studio 2022”.
how you configured debuger? did you?

yes you right , using Visual Studio 2022
can’t edit the topic …

i dont want to hack my way to see simple logs …
So i guess its a bug ,
i already opened ticket with simple example

1 Like

I think you duplicated topic