Quantcast
Channel: Questions in topic: "package"
Viewing all articles
Browse latest Browse all 690

Can I have StreamingAssets directory nested lower in the Assets directory?

$
0
0
I need to stream assets in my package since they will be read from the filesystem by a native plugin. I need (will skip the details why, feel free to ask if you're curious) to have those files in a folder that isn't at the top level, aka: - `Assets/StreamingAssets` won't work for me - `Assets/someFolder/StreamingAssets` would be ideal _ The [doc][1] is not quite clear regarding what can be done: > Any files placed in a folder called StreamingAssets (case-sensitive) in a Unity project will be copied verbatim to a particular folder on the target machine. However, it seems that if that `StreamingAssets` folder isn't under `Assets`, it won't work. _ Would you know of any workaround to "copy" those files in the package filesystem from a different location that `Assets\StreamingAssets`? It's too bad because other "special" directories like `Plugins`, `Editor`, `Resources` etc. do not need to be at the top level. [1]: https://docs.unity3d.com/Manual/StreamingAssets.html

Viewing all articles
Browse latest Browse all 690

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>