Skip to content

Commit 7ba7321

Browse files
committed
Fix ios plugin always invalid due to null ConfigFile
1 parent 32043fc commit 7ba7321

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editor/export/editor_export_platform_apple_embedded.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ class EditorExportPlatformAppleEmbedded : public EditorExportPlatform {
288288
Vector<String> plugins_filenames = list_plugin_config_files(plugins_dir, true);
289289

290290
if (!plugins_filenames.is_empty()) {
291-
Ref<ConfigFile> config_file;
291+
Ref<ConfigFile> config_file = memnew(ConfigFile);
292292
for (int i = 0; i < plugins_filenames.size(); i++) {
293293
PluginConfigAppleEmbedded config = PluginConfigAppleEmbedded::load_plugin_config(config_file, plugins_dir.path_join(plugins_filenames[i]));
294294
if (config.valid_config) {

0 commit comments

Comments
 (0)