0
Not a Bug

SQLite execute non query error

Architect 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 2

Trying to use SQLite and when I want to create a new table I get this error:

DllNotFoundException: sqlite
Mono.Data.SqliteClient.SqliteCommand.GetNextStatement (intptr,intptr&,intptr&) <IL 0x0004d, 0x0026f>
Mono.Data.SqliteClient.SqliteCommand.ExecuteReader (System.Data.CommandBehavior,bool,int&) <IL 0x0005f, 0x002c3>
Mono.Data.SqliteClient.SqliteCommand.ExecuteNonQuery () <IL 0x00005, 0x00061>
(wrapper dynamic-method) System.Runtime.CompilerServices.ExecutionScope.lambda_method (System.Runtime.CompilerServices.ExecutionScope,Mono.Data.SqliteClient.SqliteCommand) <IL 0x00006, 0x0006c>
Ludiq.InstanceFunctionInvoker`2<Mono.Data.SqliteClient.SqliteCommand, int>.InvokeUnsafe (object) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Operators/GreaterThanOrEqualHandler.cs:53)
Ludiq.InstanceFunctionInvoker`2<Mono.Data.SqliteClient.SqliteCommand, int>.Invoke (object) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Operators/GreaterThanOrEqualHandler.cs:52)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
Ludiq.InstanceFunctionInvoker`2[Mono.Data.SqliteClient.SqliteCommand,System.Int32].Invoke (System.Object target) (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Operators/GreaterThanOrEqualHandler.cs:52)
Ludiq.Member.Invoke () (at C:/Users/lazlo/Projects/Ludiq/Ludiq.Core/Runtime/Reflection/Operators/InvalidOperatorException.cs:7)
Bolt.InvokeMember.Invoke ()
Bolt.InvokeMember.Enter (Bolt.Flow flow)
Bolt.ControlInput.Trigger (Bolt.Flow flow)


Graphs related:



Sorry if I posted in any incorrect manner.

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):

P.S.: I've added the following DLL files to my assets folder:

Mono.Data;

Mono.Data.Sqlite;

Mono.Data.SqliteClient.

Not a Bug

That seems like a bug from your graph logic, not from Bolt specifically.

Make sure the native DLL is found with the correct name in your project.