Forum Discussion

๐Ÿšจ This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. ๐Ÿšจ
OmnifariousStudios's avatar
3 years ago

Can't get Addressables from OBB?

I still can't figure this out. I'm trying to use addressables and store them in my OBB expansion file for my quest game. Everything should be downloaded at install time, not worried about updates or DLC right now.

Everything works perfectly in the editor, but when I use Split Application Binary and make a build, it can't find my files. My addressables definitely build, I can see that my OBB file is 3x the size of my APK, and when I convert it to a zip and open it, I can see the files are there.  I made sure to name the OBB file correctly and put it into the correct folder in the quest's file directory.

The error I get when trying to load a scene is RemoteProviderException : TextDataProvider: unable to load from url : jar:file:///data/app/com... etc

 

I'm using Unity 2019.4.32 and Addressables 1.18.19


Any help would be extremely appreciated!

7 Replies

Replies have been turned off for this discussion
  • I have gone through every Unity addressable tutorial I can find. They all seem incomplete. I can get local addressables working, I see no advantage to those.

    I can go through the tutorials on how to setup remote addressables. And I can not find a single example of what I put on the remote server, using what tools, or anything for the server side.

    I gave up.

    • JamesButlin's avatar
      JamesButlin
      Protege

      We did find a solution yes! We used it to release our three DLCs for PowerWash Simulator VR - each its own additional OBB file. I can't off the top of my head recall what we needed to do but I'll boot up my work machine tomorrow and get back to you. ๐Ÿ‘Œ

      One thing I will mention is that one of the problems we were having was that we were trying to use 7zip to manually compress our obb file - and an unsupported compression format initially. We were unable to read our obb files for the longest time until we changed our compression method to pretty much uncompressed, and use the 'zip' encryption method in 7zip. 

      • Maffufu's avatar
        Maffufu
        Honored Guest

        Hey James. Iโ€™m running into something similar. I have my dlc file stored as an assetbundle in horizon which is downloaded by the user as part of the dlc and Iโ€™m wondering how the addressables fits into place with this flow. If I bundle the asset using addressables and then download the bundle at runtime, will the bundle be correctly marked as an addressable? If not how can I integrate this flow so that I can seamlessly download my dlc content as an addressable? Iโ€™m really stuck on this your help would be very much appreciated.