Reading StreamingAssets data fromAPK on OculusQuest/GO

I recieved a project that read a quiz from txt files in StreamingAssets.
works great in the engine, desktop and oculus rift.
in the APK version for oculus Quest/GO the quiz does not load.

if Android - the path is selected to be persistentDataPath and the info is not read even when:
I set the read promissions to external
I force the build to be internal
I change the persistentDataPath to StreamingAssets (unsurprisingly it throws an error and the whole level stuck)

where do I need to put the files in Unity Editor so that persistentDataPath will lead to them in the APK?

Rather than coding around these issues i use the Better Streaming Assets plugin

1 Like