From e5d55e35c22c346476c518190a8018ec3fd624f8 Mon Sep 17 00:00:00 2001 From: Garym3 Date: Thu, 15 Jun 2023 22:55:02 +0200 Subject: Fix runtime crash due to missing importer's name conversion inside .import files about OGG vorbis sound files --- editor/project_converter_3_to_4.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'editor/project_converter_3_to_4.cpp') diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp index a1dfbac719..e5b69a8c17 100644 --- a/editor/project_converter_3_to_4.cpp +++ b/editor/project_converter_3_to_4.cpp @@ -436,6 +436,8 @@ bool ProjectConverter3To4::convert() { String &line = source_line.line; if (line.contains("nodes/root_type=\"Spatial\"")) { line = "nodes/root_type=\"Node3D\""; + } else if (line == "importer=\"ogg_vorbis\"") { + line = "importer=\"oggvorbisstr\""; } } } else { -- cgit v1.2.3