Browse Source

Merge pull request #68271 from paddy-exe/gdextension-library-loading-error

GDExtension: Improve error message for invalid library feature flags
Rémi Verschelde 2 years ago
parent
commit
b61fda9d2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      editor/plugins/gdextension_export_plugin.h

+ 1 - 1
editor/plugins/gdextension_export_plugin.h

@@ -107,7 +107,7 @@ void GDExtensionExportPlugin::_export_file(const String &p_path, const String &p
 		for (const String &E : p_features) {
 			tags.append(E);
 		}
-		ERR_FAIL_MSG(vformat("Couldn't export extension: %s. No suitable library found for export flags: %s", p_path, String(", ").join(tags)));
+		ERR_FAIL_MSG(vformat("No suitable library found. The libraries' tags referred to an invalid feature flag. Possible feature flags for your platform: %s", p_path, String(", ").join(tags)));
 	}
 
 	List<String> dependencies;