godotengine / godotengine/godot
.APK is unable to read the .OBB file
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
4.4dev and 4.3.1
(Both the editor and the templates are built from source)
### System information
Editor: Godot v4.4.dev unknown - Windows 10.0.22631 - Forward Mobile
Device: Redmi Note 8 Pro, Android 11
### Issue description
Using the APK Expansion while exporting to android exports an OBB and an APK file, however after installing the apk and putting the obb file with name `main.[code].com.[companyname].[packagename].obb` to the folder `com.[companyname].[packagename]` under Android/Obb , the app will give the error `Couldn't load project data at path".". Is the .pck file missing?`. I assume that the application is somehow unable to see the obb file. The exact same project with the exact same settings except the APK Expansion being disabled runs perfectly
### Steps to reproduce
- Export an android project with APK expansion
- On a mobile device, download the APK and place the OBB file at the correct path
- Run the application
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Reproduce the Android export with APK Expansion enabled, install the APK, and place the generated OBB at the documented Android/Obb path. Trace how the exported application locates project data and verify that a correctly named OBB is detected and the project starts successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100