Skip to content

Commit cc9138e

Browse files
committed
Update Startup.cs
1 parent fe70da6 commit cc9138e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Assets/_PackageRoot/Runtime/Startup.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public static void Setup()
1313
#if UNITY_EDITOR_WIN || UNITY_STANDALONE_WIN // ---- Windows
1414
SQLitePCL.Batteries_V2.Init();
1515
#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX // -- MacOS
16-
SQLitePCL.Batteries_V2.Init();
16+
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_sqlite3());
1717
#elif UNITY_ANDROID // ----------------------------- Android
1818
SQLitePCL.raw.SetProvider(new SQLitePCL.SQLite3Provider_e_sqlite3());
1919
#elif UNITY_IOS // --------------------------------- iOS

0 commit comments

Comments
 (0)