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

Question Question about Addressables URL path problem get remote file.

Discussion in 'Addressables' started by billchn, Nov 8, 2022.

  1. billchn

    billchn

    Joined:
    Dec 17, 2018
    Posts:
    1
    upload_2022-11-8_10-1-7.png
    It will add one more / in the path when it loading this hash file.
    The other files loading is fine.
    o_Ousing addressables 1.20.5
     
  2. unity_shane

    unity_shane

    Unity Technologies

    Joined:
    Jun 3, 2021
    Posts:
    102
    Hi there - I'm not sure I understand the problem, where is this extra / getting added? Is this when you're trying to load the catalog? If you could give some more information I can try and look into the relevant code area and see if we might be changing the path mistakenly. Also - if possible could you let me know what the expected file path is supposed to be vs what it actually was (although of course feel free to obscure any information that can't be shared publicly)
     
  3. OneHandStudioDev

    OneHandStudioDev

    Joined:
    Sep 27, 2022
    Posts:
    4
    Same issue with
    Addressables.DownloadDependenciesAsync
    using List<IResourceLocation> locations as parameter.
    When catalog is requested a double slash is provided.

    Unity 2021.3.9f1
    upload_2022-11-21_15-54-16.png

    On android.

    Addressable groups config
    upload_2022-11-21_15-49-36.png

    Profile
    upload_2022-11-21_15-48-51.png

    Cloudfront report
    upload_2022-11-21_15-53-0.png

    This issue is only for catalog. The bundle files works.

    Strange behaviour :
    some device call cloudfront with double slash and other with one slash

    upload_2022-11-21_16-5-40.png
     
    Last edited: Nov 21, 2022
    AlgoritcomDev likes this.
  4. OneHandStudioDev

    OneHandStudioDev

    Joined:
    Sep 27, 2022
    Posts:
    4
    Any news?
     
  5. OneHandStudioDev

    OneHandStudioDev

    Joined:
    Sep 27, 2022
    Posts:
    4
    Have deploy an nginx server to rewrite url.
     
  6. nchandrahas

    nchandrahas

    Joined:
    Feb 4, 2019
    Posts:
    7
    Bumping this thread, it is not fixed in addressable version 1.21.17. I guess it happens on Android only.
    "m_InternalIds": [
    "PInfo.AddressablesPath}\\1a3545e6d647908c624b994aa6d18072_unitybuiltinshaders_c7c5928cf0f0c8a0c059355adebe81be.bundle",
    "{PInfo.AddressablesPath}\\scenes_xyz.unity_f1232ad25cea1d02bd4f2cb1526d366c.bundle",
    "{PInfo.AddressablesPath}\\scenes_xyz2.unity_f1232ad25cea1d02bd4f2cb1526d366c.bundle"
    ],
    "m_KeyDataString":

    Please udpate
     
    AlgoritcomDev likes this.