-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exporting to Android AAB is missing assets (regression from #52526) #53328
Comments
A small example project. I had to remove the android/build/libs/debug/godot-lib.debug.aar from zip, else the upload file is too large. |
@daansystems can you specify the commands you're using to run the project, and which version of Android you're running the project on. |
@m4gr3d , I'm just clicking the run on android device icon in godot's main window.
The stacktrace of the crash:
This is probably caused by the missing of the assets directory in the apk/bundle. |
It could also be a version mismatch. Did you generate and install the custom build template from the exact same commit that you use for the editor? Alternatively, do you have this issue with official 3.4 beta 5 builds (also making sure to reinstall the source template with that version)? Edit: error 19 is ERR_FILE_MISSING_DEPENDENCIES so that does seem to confirm some missing or incompatible files. |
@jimbofoo This looks like a version mismatch. Your Also for additional info, clicking the |
I can reproduce the issue with the build from: I have uploaded the full project with the android custom build here: I've also created a little movie displaying the issue New.video.mp4 |
I can reproduce the issue with 3.4 beta 6 and the test project in #53328 (comment). The AAB doesn't seem to include any assets aside from the icons indeed. Edit: I do see the assets actually under But apparently they're not found/put in the expect place when installing the AAB? |
I confirmed that it's a regression from #52526, a local revert of that PR seems to solve the issue. |
@daansystems Thanks for the video, it gives me an idea of what the issue is. |
I think the issue is not in the AAB (it includes the assets with the new Play Asset delivery structure). But in the generated APK when clicking run while AAB export format is selected. So the title of this issue needs to be something like "APK misses assets when export format is set to AAB". Sorry for the confusion. |
@jimbofoo That's correct! I found the issue though and will be pushing a fix shortly! |
Godot version
3.x
System information
Windows 10
Issue description
It seems the custom android export to aab no longer includes the assets of the project, could this have anything
to do with commit 35a98d3 "Add support for Play Asset Delivery."
Exporting an apk works fine. Is is possible to disable this assetPacks feature?
Steps to reproduce
Install Android build template, Use custom build, Select Export AAB, close the export dialog. Run the project on an android device/emulator, it will crash on start.
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: