Godot4 engine malfunctions on dual display screens

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

I’m working with my godot4 and using two screen.When I open a new window on my subscreen,the engine goes crash and can’t response anymore.
Screenshot as below(subscreen on the left)

when the Editor Setting window(left one) opened on the subscreen the whole software went crash.
I wonder where goes wrong and how to solve this problem.

P.S. I’m not a native speaker so if my problem description is not clear enough, please let me know.

:bust_in_silhouette: Reply From: jerryjrowe

How much time is between starting the engine, and the crash?

Is this happening in a blank project, or is there code running somewhere?

When this happens to me, it is usually that I have a recursive function running that cannot stop. (Like, while SomeVariable > 0 and I never change the value of SomeVariable.)

In fact this problem appears when there’s no code running.
Once I open a godot editor’s window on the subscreen(such as the Project Setting window or even rightclick anywhere in editor on the subscreen) it will goes wrong.
Of course that window shows nothing but blank and then I have to shutdown the editor.
The editor goes well when I close my subscreen and just use my main monitor.

NaricaNardica | 2023-04-28 08:46