diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs index 2809825c98f..3ee4853340b 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Bridge/ScriptManagerBridge.cs @@ -250,7 +250,8 @@ namespace Godot.Bridge } if (!foundGlobalBaseScript) { - *outBaseType = Marshaling.ConvertStringToNative(native.Name); + string nativeName = native.GetCustomAttribute(false)?.Name ?? native.Name; + *outBaseType = Marshaling.ConvertStringToNative(nativeName); } }