Merge pull request #117341 from FarizzDev/add-android-export-etc2-astc-error-message
Android export: Add error message when ETC2/ASTC compression is not enabled
This commit is contained in:
@@ -3089,6 +3089,9 @@ bool EditorExportPlatformAndroid::has_valid_project_configuration(const Ref<Edit
|
||||
|
||||
if (!ResourceImporterTextureSettings::should_import_etc2_astc()) {
|
||||
valid = false;
|
||||
if (EditorNode::is_cmdline_mode()) {
|
||||
err += TTR("ETC2/ASTC texture compression is required for Android export. In Project Settings, search for 'ETC2' in the search field, or enable 'Advanced Settings' and go to Rendering > Textures > VRAM Compression to enable 'Import ETC2 ASTC'.") + "\n";
|
||||
}
|
||||
}
|
||||
|
||||
bool gradle_build_enabled = p_preset->get("gradle_build/use_gradle_build");
|
||||
|
||||
Reference in New Issue
Block a user