Skip to main content
Participant
January 31, 2022
Solved

How to Download Asset Files not Marked as Required

  • January 31, 2022
  • 2 replies
  • 2249 views

When uploading a build to the developer hub, you can mark assets as required. If you don't mark assets as required, they will not be downloaded.

 

Are non required asset files never downloaded? Or is there a way to download them. In one of my builds, 3 asset files keep getting marked as non required, and I need to figure out how to get them to download in an update or something.

 

Marking them as required, in the developer hub, does not seem to make them download on subsequent updates.

Best answer by BigFluffyCookie

Yes you can download them later, however is that the goal? Or is the problem that these 3 asset files aren't being marked as required? 

 

As soon as you make it required in the developer hub it should download the asset files when you reinstall your app. If you want them to always be required instead of having to mark them afterwards in the hub you should create an --asset-files-config.

 

The other option is to download the missing files when the application starts with this -> https://developer.oculus.com/reference/platform/v35/o_v_r_asset_details_8h

(if thats what you mean I can give you a bit of a better explanation on how to implement it) 

2 replies

New Participant
February 8, 2022

Yes you can download them later, however is that the goal? Or is the problem that these 3 asset files aren't being marked as required? 

 

As soon as you make it required in the developer hub it should download the asset files when you reinstall your app. If you want them to always be required instead of having to mark them afterwards in the hub you should create an --asset-files-config.

 

The other option is to download the missing files when the application starts with this -> https://developer.oculus.com/reference/platform/v35/o_v_r_asset_details_8h

(if thats what you mean I can give you a bit of a better explanation on how to implement it) 

brazzoniAuthor
Participant
February 8, 2022

I had to publish another build with no changes (other than fixing my expansions-config.json), so the headset recognizes it needs to update.