Write data to "Resources" Folder at runtime

Hello,

I have done a lot of research and attempted many tests but can’t find an acceptable answer to my current scenario.

I’d like to be able to write new data to the “Resources” folder while the app is running, but I can’t find the path to it in the bundle. Once the new file has been written out I’d like to load it with Resources.Load()

Can anyone offer any insight?

1 Like

the assets are all encrypted and packages, you can not write to the resources, only the editor can create assets there and integrate them through building.

you need to store data into the documents folder and load them through the WWW class or instead use assetbundles

Hi
I am jully I am new In this forum, Actually I have done a lot of research and attempted many tests but I can’t find an acceptable answer to my current scenario.I would like to be able to write new data to the “Resources” folder while the apple is running, but I can’t find the path to it in the bundle. Once the new file has been written out I would like to load it with resources.
Please Help,
Thanks in advance,

1 Like

You can not write to the folder, it does not exist after building the app.
All content of the project is encoded and stored in a single file.

New data that are not present at build time in the editor can only be loaded through WWW and own loading code.

1 Like

You can read and write to the documents using the standard StreamReader and StreamWriter classes, too.

Thanks all! This is a good step in the right direction for me.