Explorar o código

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

GDExtension: Improve error message for invalid library feature flags
Rémi Verschelde %!s(int64=2) %!d(string=hai) anos
pai
achega
b61fda9d2a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;