I use addressable(version 1.2.3) and try to update my data on mobile(Android system) from remote server.
I select the Build Remote Catalog and set up the Remote Catalog Build Path and Load Path in AddressableAssetSettings.
When I upload the new data to the server and reopen the app.
The data in mobile does not update.
Then I tried in unity packed mode,it works.
Do I miss any setting in addressable?
Does someone have the same issue?
Cloud you check your setting file? In the Library/com.unity.addressables/TARGETPLATFORM/settings.json (or something like that). A setting file shall contains your remote catalog path. Otherwise it’s a build issue.
AddressablesMainContentCatalogRemoteHash is the remote catalog.
AddressablesMainContentCatalogCacheHash is where the remote catalog downloaded to, if you start app without internet access, the cached one will be used.
AddressablesMainContentCatalog is the local catalog.
Your log shows that it loads local catalog, then use it.
In a successful remote catalog setup, you will see requesting and using remote catalog right after loading local catalog, as below.
I guess you shall test the reachability of AddressablesMainContentCatalogRemoteHash, in your browser. In most case, a hosting issue, or a miss-configured profile entries (RemoteBuildPath vs RemoteLoadPath) will cause the issue.
The format of “myIP” is xxx.xxx.xxx.xxxx.
Because I do not want to show the IP so I use the string instead.
I am sure I switch the remote setting.Here is the setting.
I retry whole steps today and the log still shows the empty string.
The addressable will download bundles from remote but won’t update the catalog and bundles from remote.
Unless you “Override Player Version” to .e.g “1” (like Favo-Yang has) the catalog file name will be based on the time it was created (e.g. catalog_2019.09.19.02.08.00 instead of catalog_1). This means the original build will keep asking for the “old” catalog. Using the same filename for the catalog between updates means it will detect that it has changed and download the updated version.
I set “Override Player Version” to 1 and change to 2 before build update content and still do not update catalog from remote.
Does there has more detail for the work flow about update from remote on mobile.
According to the document,it seems to enable the Build Remote Catalog and the system will update the catalog from the path.
But it does not work.
Maybe I missing a small setting which does not mention in the document.