Addressable.CheckCatalogUpdates() is not working.
The desired value should have a catalog list of 0 or more to be updated.
The current environment has set a static variable called {Config.RemoteLoadPath} to dynamically modify Remote.LoadPath externally.
And I checked the Only update catalogs manageably in AddressableAssetSettings.
There are three bundles, one set to Local and the other two set to Remote.
In the above environment, the asset included made 3 different builds, uploaded to S3, and tested them by changing the Config.RemoteLoadPath address on the web.
After Addressables.InitializeAsync(), Resource Locators have confirmed that the Path changes.
But
var checkForUpdatesHandle = Addressables.CheckForCatalogUpdates(true);
await checkForUpdatesHandle;
if (checkForUpdatesHandle.Status == AsyncOperationStatus.Succeeded)
{
var catalogsToUpdate = checkForUpdatesHandle.Result;
Debug.Log($"{catalogsToUpdate.Count}");
}
The log of the above code is showing as 0.
What am I missing?
For your information, I ran the editor again when I did Initialize.
Please understand that I used a translator because I am not good at English.
I am surprised that Addressable is so faulty and it is very difficult to find content on this subject, examining the documents sometimes does not help. Do you have a solution to detect when a new update is made? I am trying to detect and download it when I make a new update, but I failed.
Can you send me an image of the setting you made? What I want to do is to compare the cache and cloud when I update the cloud and if there is a difference, calculate the download size and download it.