You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Import ETC2 ASTC option is disabled, Remote Debug on Android is still allowed but fails Export with empty error message in Project Run popup
#89910
Open
hsandt opened this issue
Mar 26, 2024
· 0 comments
Android Export requires to check project setting VRAM Compression > Import ETC2 ASTC option (rendering/textures/vram_compression/import_etc2_astc), this is well explained in the Export popup when trying to Export for Android:
The Export buttons are greyed out until user fixes import settings (with the Fix Import button or directly in Project Settings).
However, the Remote Debug for Android is not disabled, so user can still try it, but it will fail on the Project Run popup:
Project export for platform: Android - Failed
[Run]: (no error message)
So failing the export is not the bug. The bug is that Remote Debug for Android is allowed and fails with no clear error.
Instead, the editor should either:
grey out the Remote Debug Android button with a permanent message or hover tooltip explaining the reason for being unavailable (here, ETC2/ASTC texture compression required)
or allow it but in the Project Run popup, give a full error message about ETC2/ASTC texture compression
As a bonus there could be a Fix Import button as in the Export popup, but it may be hard to implement inside a tooltip / Project Run console, so suggesting the user to open the Export popup to read the full error message + Fix Import button, or alternatively change project settings manually, may be best.
Steps to reproduce
Create new project
Add Export template for Android (but don't Fix Import for ETC2 ASTC yet)
Connect Android device
Click on top-right button to Remote Debug Android
Observe empty error message
Go back to Export or Project Settings popup to Fix Import or check ETC2 ASTC
Repeat 4 => this time, it works
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
Tested versions
System information
Godot v4.2.1.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 860M (nvidia; 535.161.07) - Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 Threads)
Issue description
Android Export requires to check project setting VRAM Compression > Import ETC2 ASTC option (
rendering/textures/vram_compression/import_etc2_astc
), this is well explained in the Export popup when trying to Export for Android:The Export buttons are greyed out until user fixes import settings (with the Fix Import button or directly in Project Settings).
However, the Remote Debug for Android is not disabled, so user can still try it, but it will fail on the Project Run popup:
So failing the export is not the bug. The bug is that Remote Debug for Android is allowed and fails with no clear error.
Instead, the editor should either:
As a bonus there could be a Fix Import button as in the Export popup, but it may be hard to implement inside a tooltip / Project Run console, so suggesting the user to open the Export popup to read the full error message + Fix Import button, or alternatively change project settings manually, may be best.
Steps to reproduce
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: