Forum Discussion

ScottCoconut's avatar
ScottCoconut
Honored Guest
3 years ago

Expansion file json

Hi everybody (Dr. Nick voice),

We've been working with multiple expansion files as described here: Introducing multiple expansion files: for Mobile, Rift, and future Oculus platforms since our game is pushing the size limits for apk+obb builds. Having mostly followed Eclectus' example here (Unity Forum), things have been going well for the most part. However we haven't had any luck getting our expansion files as pointed to by ovr-platform-util's -asset_files_config to get the required status updated in our targeted channel (all expansion assets get set to optional regardless of json file's parameters). 

The only info I've been able to find on the expansion file config json is the Asset Config File section in the oculus documentation. Essentially my goal is the have the "required" : true work on upload for all platforms (quest 1/2, pro). So my questions are:

  1. How do we set the expansion file to be required for all devices? Skipping the supportedDevices section doesn't appear to work.
  2. If the supporedDevices is required, how do we set it to all platforms?
  3. If the Quest Pro needs to be explicitly set in the supportedDevices array, what string value should it use? "quest" and "quest2" are mentioned in the documentation, but not Quest Pro.

Thanks for taking a look at my overly long question 😄

2 Replies

  • Awesomic's avatar
    Awesomic
    Honored Guest

    Hi
    Did you manage to find the values for quest pro, maybe for quest 3?

    • ScottCoconut's avatar
      ScottCoconut
      Honored Guest

      Haven't seen any official values.

      We've been using "quest", "quest2", and "questpro" and it seems to work for everything and quest 3. So not sure if it the supported devices field is just ignored (but required) or if quest pro/3 drive from quest 2.