-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
?
-
7454
-
Not Needed
SDK and version
SDK : .NET 11.7.0
Potentially related to https://github.com/realm/realm-core/commit/c3ed40bba06bcb76c2ba44646e7f94003e6f3962.
Started in line with an update of realm-dotnet:
Observations
- How frequent do the crash occur?
We've had four user reports so far since a new release yesterday. All involve users trying to start the game with a realm file located on an external disk, likely all ExFAT format.
Crash log / stacktrace
Example 1:
Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
2024-03-11 21:33:59 [error]: Realm startup failed with unrecoverable error; starting with a fresh database. A backup of your database has been made. 2024-03-11 21:33:59 [error]: Realms.Exceptions.RealmException: GetFileInformationByHandleEx() failed for 'D:\nochmaosu\client.realm': �p�����[�^�[���Ԉ���Ă��܂��B 2024-03-11 21:33:59 [error]: at Realms.NativeException.ThrowIfNecessary() 2024-03-11 21:33:59 [error]: at Realms.SharedRealmHandle.Open(Configuration configuration) 2024-03-11 21:33:59 [error]: at Realms.RealmConfiguration.CreateHandle(Configuration& configuration) 2024-03-11 21:33:59 [error]: at Realms.RealmConfigurationBase.CreateRealm() 2024-03-11 21:33:59 [error]: at Realms.Realm.GetInstance(RealmConfigurationBase config) 2024-03-11 21:33:59 [error]: at osu.Game.Database.RealmAccess.getRealmInstance() 2024-03-11 21:33:59 [error]: at osu.Game.Database.RealmAccess.prepareFirstRealmAccess() 2024-03-11 21:33:59 [error]: An unhandled error has occurred.
Example 2:
Unable to find source-code formatter for language: log. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
2024-03-12 00:42:21 [error]: Realm startup failed with unrecoverable error; starting with a fresh database. A backup of your database has been made. 2024-03-12 00:42:21 [error]: Realms.Exceptions.RealmException: GetFileInformationByHandleEx() failed for 'F:\osu-lazer\client.realm': The parameter is incorrect. 2024-03-12 00:42:21 [error]: at Realms.NativeException.ThrowIfNecessary() 2024-03-12 00:42:21 [error]: at Realms.SharedRealmHandle.Open(Configuration configuration) 2024-03-12 00:42:21 [error]: at Realms.RealmConfiguration.CreateHandle(Configuration& configuration) 2024-03-12 00:42:21 [error]: at Realms.RealmConfigurationBase.CreateRealm() 2024-03-12 00:42:21 [error]: at Realms.Realm.GetInstance(RealmConfigurationBase config) 2024-03-12 00:42:21 [error]: at osu.Game.Database.RealmAccess.getRealmInstance() 2024-03-12 00:42:21 [error]: at osu.Game.Database.RealmAccess.prepareFirstRealmAccess() 2024-03-12 00:42:21 [error]: An unhandled error has occurred.
In both examples, I've tested the realm file provided by the user and it works fine on my drives (macOS) so the user's database is not at fault.