- Home /
Sqlite RANDOM() function not working on Android?
I am using a sqlite3 database in my game and in the Editor (5.4.1) this always works perfectly fine.
However, when I build it and play it on Android i get this Exception:
Unable to open the database file
This occurs only when I have a RANDOM() function in the SQL i am executing:
select NAME from NAMES order by RANDOM() LIMIT 25
Naturally I have tried to edit the SQL and try without the RANDOM() function and the exception goes away. Is it somehow not supported on Android yet works in Editor? Or is there something else going on?
Comment
Your answer
Follow this Question
Related Questions
How to use Sqlite3 in Unity for android 0 Answers
Unity 2019 sqlite3 connection android 0 Answers
Sqlite database and Android 1 Answer
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers