diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs index 0ed36d43ed0..2809825c98f 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs @@ -355,17 +355,6 @@ namespace Godot.Bridge } } } - - // This method may be called before initialization. - if (NativeFuncs.godotsharp_dotnet_module_is_initialized().ToBool() && Engine.IsEditorHint()) - { - if (_pathTypeBiMap.Paths.Count > 0) - { - string[] scriptPaths = _pathTypeBiMap.Paths.ToArray(); - using godot_packed_string_array scriptPathsNative = Marshaling.ConvertSystemArrayToNativePackedStringArray(scriptPaths); - NativeFuncs.godotsharp_internal_editor_file_system_update_files(scriptPathsNative); - } - } } [UnmanagedCallersOnly]