From 540ac86b60794c9100321ba55d5dc22d1b7dac6d Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Mon, 16 Sep 2024 23:42:25 +0200 Subject: [PATCH] Warn for potential performance issues with Auto Switch to Remote Scene Tree editor setting --- doc/classes/EditorSettings.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/classes/EditorSettings.xml b/doc/classes/EditorSettings.xml index 389d65e05a0..a151d8a41ea 100644 --- a/doc/classes/EditorSettings.xml +++ b/doc/classes/EditorSettings.xml @@ -186,6 +186,7 @@ If [code]true[/code], automatically switches to the [b]Remote[/b] scene tree when running the project from the editor. If [code]false[/code], stays on the [b]Local[/b] scene tree when running the project from the editor. + [b]Warning:[/b] Enabling this setting can cause stuttering when running a project with a large amount of nodes (typically a few thousands of nodes or more), even if the editor window isn't focused. This is due to the remote scene tree being updated every second regardless of whether the editor is focused. If [code]true[/code], enables collection of profiling data from non-GDScript Godot functions, such as engine class methods. Enabling this slows execution while profiling further.