|
Post by lohzhen on Dec 9, 2019 8:53:24 GMT
Hi, currently i am creating a vr riding game for my final year project, and i trying to do highscore table with database to save data inside. But however, as i used SQLite demo to store and display the data in the highscore table. The data from database is able to display to unity itself, however when i export it to apk file and import into the VR oculus headset there are no data coming out from the database at all. What was the exact problem? i have searched lots of forums and googled many places but cannot find any solution to it. is it because i am using local database so my VR cant detect the database?
Is there any other solution to use store the data and display it into highscore board in VR? my preference is to use database to store data
|
|
|
Post by echo17 on Dec 9, 2019 15:19:01 GMT
I'm not sure what might be happening. I have no experience with using VR, but I doubt that is the issue. Are you getting any errors in the log of your device?
|
|
|
Post by lohzhen on Dec 10, 2019 2:10:43 GMT
I didnt get error logs from the vr headset at all
|
|
|
Post by lohzhen on Dec 10, 2019 7:27:54 GMT
Actually i managed to get errors using android logcat, it keep saying that my data source is empty?
2019/12/10 15:28:19.350 4354 4375 Info Unity: Error connecting to DB: Data Source cannot be empty. Use :memory: to open an in-memory database
|
|
|
Post by echo17 on Dec 10, 2019 14:46:35 GMT
Interesting. I haven't seen that error before. Can you make a simple project that can demonstrate the issue? I don't have any VR equipment, but I can test on my Android tablet. Please see this FAQ for more information: link
|
|