Search Unity

Unity 2021.2 Build: SQLite "Method 'System.Data.SQLite.SQLite3.GetErrorString' not found"

Discussion in 'Scripting' started by dyox, Dec 15, 2021.

  1. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Hello,

    After updating Unity 2021.1 to 2021.2.6f1, i am getting this Error:
    Code (CSharp):
    1. MissingMethodException: Method 'System.Data.SQLite.SQLite3.GetErrorString' not found.
    2.   at System.RuntimeType.InvokeMember (System.String name, System.Reflection.BindingFlags bindingFlags, System.Reflection.Binder binder, System.Object target, System.Object[] providedArgs, System.Reflection.ParameterModifier[] modifiers, System.Globalization.CultureInfo culture, System.String[] namedParams) [0x00710] in <003fa0091a1648c5995b34536ddce34a>:0
    3.   at System.Type.InvokeMember (System.String name, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object target, System.Object[] args) [0x00000] in <003fa0091a1648c5995b34536ddce34a>:0
    4.   at System.Data.SQLite.SQLiteException.GetErrorString (System.Data.SQLite.SQLiteErrorCode errorCode) [0x00006] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    5.   at System.Data.SQLite.SQLiteException.GetStockErrorMessage (System.Data.SQLite.SQLiteErrorCode errorCode, System.String message) [0x00005] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    6.   at System.Data.SQLite.SQLiteException..ctor (System.Data.SQLite.SQLiteErrorCode errorCode, System.String message) [0x00000] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    7.   at System.Data.SQLite.SQLite3.Prepare (System.Data.SQLite.SQLiteConnection cnn, System.String strSql, System.Data.SQLite.SQLiteStatement previous, System.UInt32 timeoutMS, System.String& strRemain) [0x003d0] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    8.   at System.Data.SQLite.SQLiteCommand.BuildNextCommand () [0x000f6] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    9.   at System.Data.SQLite.SQLiteCommand.GetStatement (System.Int32 index) [0x00008] in <4184efb1d48c40e6a1c720e4eb6a05c8>:0
    10.  
    I have tried to update SQL dll to last version, without succes.
    It happens only on Build, Editor is working fine.

    Folder Plugins:
    SQLite.Interop.dll
    System.Data.SQLite.dll
    sqlite3.dll
     
  2. dyox

    dyox

    Joined:
    Aug 19, 2011
    Posts:
    619
    Bump ?