access to a folder inside apk

Hi!

Inside of the folder “Assets” i have another one called “worlds” and i need to access it. When i was in Editor mode i was using System.IO namespace to access the folder, them i realized that this doesn’t work in android. I read if i want to access to the apk content i need to use the WWW class with this address : “jar:file//” + Apllication.dataPath + “!/assets/”. But when i load this address i have the following error “You are trying to load data from a www stream which had the following error when downloading.”, “java.io.FileNotFoundException: assets/”.

I had tried to use “Application.streamingAssetPath” too and that doesn’t work neither. If someone can explain me how to access the data i’ll really appreciate it. I was using the property “assetBundle” to know how many folders are inside the foelr “worlds” but i couldn’t. Thanks a lot and sorry the english.

No, you cannot use random folders in your project to find something.
Unity asset folder is limited for editor use only.

One option is using Resources folder. Put all your stuff in Resources folder and load them by Resources.Load.

Or you can use StreamingAssets folder.

Before you jump into anything, read Special Folders section.

@JordanMottaV Hey there, did you find the solution of this problem? I am stuck in the same thing I was trying to localize my game in following the official localization tutorial but am unable to localize in Android whereas the localization works perfectly on Windows.