SqlCipher4Unity3D icon indicating copy to clipboard operation
SqlCipher4Unity3D copied to clipboard

Every thing works fine in editor. but in android. It gives error like this...

Open alan113101 opened this issue 2 years ago • 0 comments

I use SQLiteConnection.Find<T>() method. works fine in editor(windows). Can get the all from db file. When I built apk. and run at android. I got error like this.

Error and callstack from unity: Exception: NullReferenceException: Object reference not set to an instance of an object SqlCipher4Unity3D.TableQuery1[T].CompileExpr (System.Linq.Expressions.Expression expr, System.Collections.Generic.List1[T] queryArgs) (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0) SqlCipher4Unity3D.TableQuery1[T].CompileExpr (System.Linq.Expressions.Expression expr, System.Collections.Generic.List1[T] queryArgs) (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0) SqlCipher4Unity3D.TableQuery1[T].GenerateCommand (System.String selectionList) (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0) SqlCipher4Unity3D.TableQuery1[T].ToList () (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0) SqlCipher4Unity3D.TableQuery1[T].FirstOrDefault () (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0) SqlCipher4Unity3D.SQLiteConnection.Find[T] (System.Linq.Expressions.Expression1[TDelegate] predicate) (at <1c14786c7c7f40dcafd3914ea4c2c6b9>:0)

alan113101 avatar Apr 19 '23 09:04 alan113101