Search Unity

Resolved Addressables are not loaded (or compiled?)

Discussion in 'Addressables' started by xtdiwd, Apr 1, 2021.

  1. xtdiwd

    xtdiwd

    Joined:
    Jul 25, 2020
    Posts:
    135
    I tried setting Managed code stripping to Low, since Disabled is not available.

    As long as I stay in the Unity editor everything works correctly. As soon as I compile Win86 I discover that the resources loaded with Addressables are not loaded!

    Where have I gone wrong?

    I also tried adding the link.xml file to the Assets folder but it had no effect.

    I currently use Unity 2020.3.2 and il2cpp.
     
  2. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,822
    I'll ping the team for some guidance. Which version of Addressables are you using?
     
  3. xtdiwd

    xtdiwd

    Joined:
    Jul 25, 2020
    Posts:
    135
    1.16.16 (January 27, 2021)
     
  4. Milten2222

    Milten2222

    Joined:
    Nov 14, 2017
    Posts:
    19
    Stumbled upon the same problem on Mac.
    Using Addressables 1.16.16. Everything works ok in the Editor but not in the build.
    In Unity 2020.2 it was working ok though.
     
  5. nocanwin

    nocanwin

    Joined:
    May 7, 2009
    Posts:
    176
    Is your bundle naming set to Filename? If so then try to changing it to "Append Hash to Filename"
     
    Milten2222 likes this.
  6. Milten2222

    Milten2222

    Joined:
    Nov 14, 2017
    Posts:
    19
    Thank you, it helped!
     
  7. xtdiwd

    xtdiwd

    Joined:
    Jul 25, 2020
    Posts:
    135
    Thank you