Skip to content

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

@alan113101

Description

@alan113101

I use SQLiteConnection.Find() 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions