- Home /
Loading json file from Addressables on iOS
I am having a hard time getting the Addressable functionality working on an iOS device. I am able to load everything fine on an Android device but the same cannot be said for iOS. I currently have a few .json files that I am attempting read in at runtime and then load game objects based on the information from the json file. The folder structure for the files is Assets/Files/.json. The assets are assigned as addressable and I have them labeled as Files in the Addressable window.
When I create a build on Android, everything works as intended. When I load onto an iOS device it acts as though the *.json files are not found and that creates an empty list and then no game object is rendered.
Is there something I am not understanding about addressables and how they work on iOS. It is my understanding that anything in the addressables will be placed in the location where the streaming asssets would reside. This suppose to make it cross platform, however I am finding out that doesn't seem to be the case. I have been fighting this for a couple days and I can't seem to figure it out.
I am also building with Unity Cloud and I have the addressables turned on and I have it building the player content on every build.
Thanks for any help!