- Home /
Application.dataPath is incorrect after install on Android
Hi,
we've splitted our game to apk+obb for Google Play. Several Android devices have issues with reading Streaming Assets folder at first launch after installing from market. We discovered that Application.dataPath points to apk instead of obb file. If we do something with file system after installing like clearing caches of application or just opening obb folder, Application.dataPath starts pointing to obb file.
Are there any fixes or workarounds of this problem?
Unity 2018.3.4f1
Your answer
Follow this Question
Related Questions
Android StreamingAssets File Access 6 Answers
Open an HTML file from streamingAssets - Android 0 Answers
how do you correctly copy a jpg file from streaming assets folder using www? 1 Answer
Cannot access JSON file from Streaming Assets in android build 1 Answer
two way communication between the unity and streamingassets web page for android 0 Answers