- Home /
SQLite unhandler exception
Hi!
After installing new verionion of Unity(5.3.2 -> 5.3.4) here becomes a problem.
Unhandled Exception: System.TypeLoadException: Could not load type 'Mono.Data.Sqlite.SqliteStatement' from assembly 'Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756'.
very long code...
Internal compiler error at Assets/Scripts/Data/DataBaseController.cs(56,17):: exception caught while emitting MethodBuilder
Internal compiler error at Assets/Scripts/Data/DataBaseController.cs(56,17):: exception caught while emitting MethodBuilder [DataBaseController::CreateTable]
The class System.Runtime.InteropServices.CriticalHandle could not be loaded, used in mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
The class Mono.Data.Sqlite.SqliteStatement could not be loaded, used in Mono.Data.Sqlite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756
In databasecontroller.cs I do connection, and what I understood after 2 hours is the problem exactly on second string(invoking constructor). Without it, compiler does not show error.
Before changing version it worked.
SqliteConnection connection;
connection = new SqliteConnection();
Could Someone help me with this problem ?
I have seen twice similar questions but there was no answers... Is it known problem ?
Thanks for any replies!
I'm having the same problem. Did you figure out how to fix it @$$anonymous$$ Hromyh?
No, I didn't.
I had no time to long investigation, and what I finally did - returned to prev. version of Unity.
If you will find the answer, it would be great if you share it.
Good Luck!
Hey, I tried to revert to 5.3.2 but still isn't working :S I cleaned my registery and all for my uninstall..
Hope I can find out how to fix it...
Your answer
Follow this Question
Related Questions
VR Highscore with database (SQLite) 1 Answer
SocketException: No connection could be made because the target machine actively refused it. 0 Answers
Hiding the SQLite file 0 Answers
Looking for step-by-step manual how to configure SQL Lite on Unity 2017 ( or other database) 1 Answer
Sqlite in Unity 0 Answers