After I upgraded the Unity version from 5.3.2 to 5.3.4, something unpleasant happened.

I worked with SQLite through the sqlite, Mono.Data.Sqlite, System.Data, and other libraries from the namespace System (Security-related) libraries.

The database was created, the tables were created. What was needed was working.

So, when updating appeared such Exception

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

New libraries (from the updated Unity) I connected instead of the old ones.

An error occurs at the point of creation (constructor calls) of a new connection. There is no error during initialization.

SqliteConnection connection; connection = new SqliteConnection(); 

    0