Realm file in a unity project (c# .net)

Im using Realms for my Unity project [offline game], but where do I see the created database ? I’ve searched google and the answer i got is to look for the “.realms” file, but I can’t find one.

How do I save the Realms database into a file ?

When you open a Realm instance (i.e. call Realm.GetInstance), you’re already working with the database. That means that any writes you do will be persisted to disk. If you want to know where the database is stored, you can inspect realm.Config.DatabasePath. We’ll generate a default path, typically in the documents folder, but you can always customize that by manually specifying the optional path when creating a RealmConfiguration.

thank you very much !!!

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.