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

macOS: Game data corrupt immediately if moved to an exFAT partition #19948

Closed
i0ntempest opened this issue Aug 24, 2022 · 9 comments
Closed

macOS: Game data corrupt immediately if moved to an exFAT partition #19948

i0ntempest opened this issue Aug 24, 2022 · 9 comments
Assignees
Labels
realm deals with local realm database

Comments

@i0ntempest
Copy link

Type

Crash to desktop

Bug description

If I move the game folder to a exFAT partition within the game and quit it, the game will crash and no longer open (crash on startup).

Screenshots or videos

No response

Version

2022.821.0

Logs

database.log
network.log
performance.log
runtime.log
macOS crash log
crash.log

@peppy
Copy link
Member

peppy commented Aug 25, 2022

This is a limitation of realm. Please avoid doing this.

We’ll need to add better messaging to avoid this happening in the first place.

@i0ntempest
Copy link
Author

Well the size of my beatmap library doesn't allow me to put it on the system partition. It worked for a period of time before, so this limitation must be new?

@peppy
Copy link
Member

peppy commented Aug 25, 2022

Unless you mean a year or more ago, nothing should have changed.

Out of curiosity, is there a reason you use an ExFAT partition as opposed to APFS or HFS+?

@i0ntempest
Copy link
Author

Can't remember the exact time but it definately worked in late 2021/early 2022.
I have a dual boot setup and afaik only exFAT allows r/w access for both macOS and Windows (officially anyways). I have thought about making lazer on both OSes use the same directory, not sure if that's a good idea so haven't tried yet.

@peppy peppy added the realm deals with local realm database label Aug 25, 2022
@peppy
Copy link
Member

peppy commented Aug 25, 2022

Hmm... so realm has this fallback logic which should handle these cases (as discussed at realm/realm-dotnet#2751). Could something have regressed with that? Or maybe it never worked? We'll need to test this against an ExFAT drive and report back to realm.

@peppy peppy self-assigned this Aug 25, 2022
@i0ntempest
Copy link
Author

Just found the screenshot I took in lazer on macOS, it was taken on April 24. So the newest version at that time definately worked.

@peppy
Copy link
Member

peppy commented Aug 26, 2022

I can reproduce the issue, so I will report it upstream.

@peppy
Copy link
Member

peppy commented Aug 26, 2022

Tracking at realm/realm-core#5789.

@peppy
Copy link
Member

peppy commented Sep 2, 2022

This has been fixed upstream. We should be able to close out this issue after the next realm release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
realm deals with local realm database
Projects
None yet
Development

No branches or pull requests

2 participants