Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

SQLite not working when Unity app downloaded from Play Store

Discussion in 'General Discussion' started by nishakk94, May 17, 2019.

Thread Status:
Not open for further replies.
  1. nishakk94

    nishakk94

    Joined:
    Sep 3, 2017
    Posts:
    2
    Hi,

    I created a game on Unity with SQLite database. It works well when I build the game directly into the phone, or when creating an apk and installing on the Android phone. But after publishing the app on Play Store and downloading it on Android device, the app does not seem to be reading data from the database. Has anyone encountered this problem before?
     
  2. Meltdown

    Meltdown

    Joined:
    Oct 13, 2010
    Posts:
    5,796
    Sounds like a permissions thing.
     
    Joe-Censored likes this.
  3. xVergilx

    xVergilx

    Joined:
    Dec 22, 2014
    Posts:
    3,294
    When in doubt - check your logs (via monitor / logcat or similar)
     
  4. SamohtVII

    SamohtVII

    Joined:
    Jun 30, 2014
    Posts:
    366
    May not be useful but when mine wasn't getting the DB content it was an SSL issue, in that I didn't have one lol
     
  5. frankyiu2010

    frankyiu2010

    Joined:
    Aug 30, 2019
    Posts:
    7
    I have the same problem here, any solution found?

    I build a apk and install directly to two different android device, both can read the sqlite.

    but when i download and install it from play store, the sqlite database can not read.
     
  6. Ate-Games

    Ate-Games

    Joined:
    Jan 13, 2021
    Posts:
    4
    same problem!
     
Thread Status:
Not open for further replies.