godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
86.37k stars 19.23k forks source link

External Editor Output sometimes combines two different print statements (Jetbrains Rider / C#) 4.3 beta 1 #92627

Open MatthiasBae opened 1 month ago

MatthiasBae commented 1 month ago

Tested versions

System information

Godot v4.3.beta1.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; 31.0.15.5222) - 13th Gen Intel(R) Core(TM) i9-13900KF (32 Threads)

Issue description

The Output Console combines two different print statements. As far as I can say it only happens when GD.PrintErr() and GD.Print() are called.

I think it might have been introduced in https://github.com/godotengine/godot/pull/92158. This was a fix of my earlier issue https://github.com/godotengine/godot/issues/91603

image image image

Steps to reproduce

Use GD.Print() and GD.PrintErr() in the process method

Screenshot is from MRP

image

Minimal reproduction project (MRP)

Outputtest.zip

AThousandShips commented 1 month ago

Sounds like a race condition somewhere, probably unrelated to that fix

MatthiasBae commented 1 month ago

Looks normal in Godot

image