Skip to content
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

osu! doesn't open on Android 14 (Realm issue) #25020

Closed
yesseruser opened this issue Oct 5, 2023 · 17 comments
Closed

osu! doesn't open on Android 14 (Realm issue) #25020

yesseruser opened this issue Oct 5, 2023 · 17 comments
Labels
platform/android priority:1 Very important. Feels bad without fix. Affects the majority of users. realm deals with local realm database

Comments

@yesseruser
Copy link
Contributor

yesseruser commented Oct 5, 2023

Type

Crash to desktop

Bug description

Whenever I try starting osu! after installing Android 14 (that just released) on my phone it crashes.

Screenshots or videos

This is all that appears when starting the app (the app icon):
Screenshot_20231005-135924
It also said the app crashed.

Version

2023.924.1-lazer

Logs

runtime.log
performance.log
network.log
database.log

@peppy
Copy link
Member

peppy commented Oct 5, 2023

I've reported this one to realm: realm/realm-dotnet#3458

@kiburtse
Copy link

kiburtse commented Oct 6, 2023

Hi, @peppy! Could you provide a bit more details under relevant issue in realm core?

@peppy
Copy link
Member

peppy commented Oct 8, 2023

@yesseruser can you confirm things were working before upgrading to android 14? And could you give more details on how you upgraded (was this an official release from your manufacturer? is it beta?)

@bdach
Copy link
Collaborator

bdach commented Oct 8, 2023

I guess for general information I won't get android 14 updates on my only test device until apparently November so I cannot test this at this time.

@yesseruser
Copy link
Contributor Author

@peppy yes, before upgrading everything was working just fine.

@matthew-5pl
Copy link

Same experience with my Pixel 7a running Android 14 (build UP1A.231005.007, stable, installed through OTA).
Lazer version 2023.1008.1.

@peppy
Copy link
Member

peppy commented Oct 10, 2023

Thanks for confirming. It looks like another developer has run into the same issues, so it's safe to say it's not specific to our project. Let's wait for word from the realm team.

@peppy peppy changed the title Osu! doesn't open on Android 14 osu! doesn't open on Android 14 (Realm issue) Oct 10, 2023
@Joehuu Joehuu added the realm deals with local realm database label Oct 10, 2023
@peppy
Copy link
Member

peppy commented Oct 13, 2023

Looks like this is going to require changes from our end (see realm/realm-core#7037 (comment)).

I'm not really aware of the current situation with android storage, but are we not already storing internally? Is the user in this thread choosing to move their game storage elsewhere? If so, with this knowledge, we're going to have to either disable that functionality, or selectively only store user data files externally while having the database internal.

Which sounds completely fucked and destroys any portability of installation, but is what it is I guess.

@bdach
Copy link
Collaborator

bdach commented Oct 13, 2023

are we not already storing internally?

Apparently not: https://github.com/ppy/osu-framework/blob/cb21c4efc4b6aa4143fb4b746fc5e25292432c49/osu.Framework.Android/AndroidGameHost.cs#L72-L73

The screwed part is going to be figuring out how to migrate users. Android docs on this are terrible, I can't understand any of it. There's like a flag to keep previous behaviour, but it doesn't work on android 11, unless you set another flag, or something??? So I can't personally act on this until I get OS upgrades on my test device.

@peppy
Copy link
Member

peppy commented Oct 13, 2023

Just waiting for the next release of android to ban the same file operations on the root filesystem, and destroy realm completely...

@peppy peppy added the priority:1 Very important. Feels bad without fix. Affects the majority of users. label Oct 13, 2023
@Joehuu
Copy link
Member

Joehuu commented Oct 13, 2023

FWIW, osu! opens on Android 14 QPR1 beta on my Pixel 6a and someone on Pixel 7 with the graphics being weird:
Screenshot_20231013-140930

The thing is the changes in QPR1 won't be in stable until December (or approximately 3 months)...

@AAGaming00
Copy link

until I get OS upgrades on my test device.

Does your device support DSU?

@AAGaming00
Copy link

are we not already storing internally?

Apparently not: https://github.com/ppy/osu-framework/blob/cb21c4efc4b6aa4143fb4b746fc5e25292432c49/osu.Framework.Android/AndroidGameHost.cs#L72-L73

The screwed part is going to be figuring out how to migrate users. Android docs on this are terrible, I can't understand any of it. There's like a flag to keep previous behaviour, but it doesn't work on android 11, unless you set another flag, or something??? So I can't personally act on this until I get OS upgrades on my test device.

Seems like the actual issue was linked there

@qwertyuiii-code
Copy link

and how to fix its issue?

@peppy
Copy link
Member

peppy commented Oct 26, 2023

There's no fix, please wait patiently.

@FileOfName
Copy link

osu! opens on my pixel after the November update.
However, the graphical glitches are still present.

@Joehuu
Copy link
Member

Joehuu commented Nov 10, 2023

Closing as resolved and tracking the graphical glitches in #25189.

@Joehuu Joehuu closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/android priority:1 Very important. Feels bad without fix. Affects the majority of users. realm deals with local realm database
Projects
None yet
Development

No branches or pull requests

9 participants