Don't Put Scenes into Separate Asset Bundle

Hello, I’m building a game for the oculus quest 2. We are only allowed one extension file (asset bundle) for that system. For this requirement I need all my addressables to be in one asset bundle.

To do this I put all my scenes and models in an addressable group. However when I do this Unity disobeys me and creates TWO asset bundles, one for the scenes and one for everything else even though I told him not to.

Is there any way I can force Unity to put these scenes into the same asset bundle??

As far as I know it can’t be done. This is a (legacy) limitation of the asset bundle system, which was only capable of hosting scenes in a bundle, and every other kind of assets in other bundles.

@RomanFX , Hi there - the way to work around the one extension file limit for oculus is to place all of your addressables data into an obb file. To generate this obb file with all of your addressables data in it, please check these docs. Most important is that you turn on the “Split Application Binary” setting, which will automatically generate the .obb file which will then contain all of your assets, which you can then upload with your addressables build. Hope this helps!

1 Like