Crash when opening database since 2.0 update

I am trying to open a synced realm but I get the following error during crash
“java.lang.ClassCastException: kotlin.Pair cannot be cast to kotlin.reflect.KProperty1”

Nothing has changed with how the SyncConfiguration.Builder is setup but we cannot open the database and the error has not been helpful.

Can anyone provide some insight? Attached is the stacktrace.

1 Like

It only happens when I using a combination of Kotlin 2 and Realm 2. The crash seems to be caused by a change in how the schema is being parsed by realm during the SyncConfiguration.Builder()