Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Addressable Remote path Error?

Discussion in 'Addressables' started by lho0602, Jun 22, 2022.

  1. lho0602

    lho0602

    Joined:
    Nov 10, 2020
    Posts:
    2
    First at all, I'm sorry for my poor English.. :(



    Unity : 2020.3.18
    Addressable : 1.18.19

    the whole story of the incident :

    1. I wanted to see the changed version of the result on another link.

    2. I changed the Player Version Override to 1.0.5, so I changed the RemoteLoadPath to "/1_0_5/Android", finished the test, and was satisfied.

    3. I changed it to 1.0.4 because I had something to change, and I returned the RemoteLoadPath to "/Android", but now I am experiencing this error.



    So I did:

    I erased the Addressable cache in the Library's Package Cached

    I checked the Active Profile

    I checked the Load Path shown in Asset Settings

    I also checked .bin, .json, and .hash

    I couldn't find "1_0_5" anywhere!!!!!!

    Maybe it's calling from a cache somewhere. But this seems to be beyond my technical knowledge.



    upload_2022-6-22_10-33-46.png




    If you look at this picture, you'll know exactly what I'm trying to say.

    Tired from many attempts, I decided to come to this place.




    Finally :

    Just now I upgraded the version to "1.0.5", and it started working normally, but I am worried that there will be an error again in the future.



    Why is this happening to me?

    Does lowering the version cause the RemotePath calling to fail? I understand that Player Version Override is just a "string" and is not a concept of lowering the version.


    I'm sorry if my thread sounded aggressive. I had my head stuck in the wall for almost a day....
     
  2. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346
    Hi @lho0602 Player Version Override just changes the filename of the remote catalog .json file and .hash file. By default the filename includes the timestamp (for example "catalog_2022.06.29.14.21.27"), so setting the Player Version Override to "1.0.5" will make the filename be "catalog_1.0.5" instead.
    https://docs.unity3d.com/Packages/c.../manual/AddressableAssetSettings.html#catalog

    It sounds like you are modifying the profile variables without rebuilding Addressables. In general any changes to the profiles window, Addressable asset settings, group settings, will require a rebuild. Otherwise the modifications will not be applied and Addressables will use the settings configured in the previous build.

    Another thing that may be useful is that you can make the "1_0_5" subfolder be a static variable and reference it in your profile variables. See the example here https://docs.unity3d.com/Packages/c...leAssetsProfiles.html#profile-variable-syntax
     
  3. lho0602

    lho0602

    Joined:
    Nov 10, 2020
    Posts:
    2

    Thanks for answer, @pillakirsten . Unfortunately I was always building Addressable...

    I had an error once more since I wrote the post. Before I did the method mentioned in the post, I built a new application and the error disappeared. Do you have any information related to the application build cache?
     
  4. pillakirsten

    pillakirsten

    Unity Technologies

    Joined:
    May 22, 2019
    Posts:
    346
    lho0602 likes this.