To find my resources folder and the files inside it, I can just use this in the editor …
Application.dataPath + “/Resources/AssetBundles”
But on device I get an error …
DirectoryNotFoundException: Directory ‘/var/mobile/Applications/559885A9-2182-4F8A-A7EC-33F2566858C0/candyjam.app/Data/Resources/AssetBundles’ not found.
Is there another way to find the resources folder when using iOs device ?
Update : Turns out the Resource folder is not kept intact whatsoever when on iOs or Android. This becomes something you have to access through the Resource class using Resources.Load and you cannot actually get to the Files themselves at all.
I have decided to use StreamingResources instead as it keeps the folder structure + files intact.