From 3d864f1fa8f72cf8940c10b5739717d232feae37 Mon Sep 17 00:00:00 2001 From: Lukas Tenbrink Date: Tue, 23 Jun 2026 19:07:27 +0200 Subject: [PATCH] Fix `StringName` temporary loss in macOS export plugin, potentially leading to crashes. --- platform/macos/export/export_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/macos/export/export_plugin.cpp b/platform/macos/export/export_plugin.cpp index 2400666269..cc207d5c0a 100644 --- a/platform/macos/export/export_plugin.cpp +++ b/platform/macos/export/export_plugin.cpp @@ -1841,7 +1841,7 @@ Error EditorExportPlatformMacOS::export_project(const Ref &p if (appnames.is_empty()) { domain->set_locale_override(lang); - const String &name = domain->translate(project_name, String()); + String name = domain->translate(project_name, String()); if (name != project_name) { f->store_line("CFBundleDisplayName = \"" + name.xml_escape(true) + "\";"); }