- Home /
Get Contents of Folder Using UnityWebRequest
I'm using UnityWebRequest to grab files from the StreamingAssets folder in Android. At the start of my game I want to copy all the files from StreamingAssets to persistentDataPath so I can use normal file operations. To do this, I'd need to iterate through all the files within a folder I have in StreamingAssets. How do I do this using UnityWebRequests? I don't believe any normal file operations work because of how Android packs all the files from StreamingAssets into the apk.
Your answer
![](https://koobas.hobune.stream/wayback/20220612202950im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Reading text files on Andriod apk build 1 Answer
How to tell android to open a file 0 Answers
Getting Localization data in Android with streamingAssets and UnityWebRequest 0 Answers
Why am I unable to locate font files(.ttf) in unity android game in persistentDataPath? 1 Answer
android browse and read text files 1 Answer