Skip to content

SDL_OpenTitleStorage fails on Android with "No available title storage driver" when passing NULL #13929

@corentin35000

Description

@corentin35000

Hi,

I’ve encountered a bug when using the new title storage API on Android.

When I call:

SDL_Storage *storage = SDL_OpenTitleStorage(NULL, 0);

According to the documentation, passing NULL as the override parameter should make it fall back to SDL_GetBasePath(). On Android, this should resolve to the app’s ./assets/ directory.

However, on Android the call always fails with:

SDL_OpenTitleStorage failed: No available title storage driver

This suggests that no storage driver is available for Android, even though SDL_GetBasePath() works and assets should be accessible from the APK’s assets.

Expected behavior:
SDL_OpenTitleStorage(NULL, 0) should succeed on Android and allow reading from the packaged assets directory.

Actual behavior:
Fails with "No available title storage driver".

Platform:

SDL3 (branch main)

Android (tested on device real in apk debug)

This looks like a missing or unimplemented storage driver for Android.

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions