Skip to main content
Inspiring
October 15, 2023

DLC version control

Hi,

What is the norm for DLC version control?
As in, I want to be able to check if a DLC is updated and then re-download the file if applicable.

I can think of two solutions, but I think both are quite crude and don't like them.

1. Save the current version locally on the device using PlayerPrefs and use the meta data field and in the add-on to compare versions, but there must be a better way.

2. Keep a DlcManifest in the streaming assets folder that keeps track of skus and assetIds and then compare if the current assetId from the IAP api matches the assetId in the DlcManifest.

Both mean some manual labor, which I don't like because that can easily introduce mistakes.

 

So, what other options are there?

 

This topic has been closed for replies.

1 reply

JepplenAuthor
Inspiring
October 15, 2023

In point 2 I meant to write: Saving the the latest AssetId of the latest downloaded DLC AssetId of a sku and then use that to compare with the current AssetId collected from the IAP api.