Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Addressable load error

Discussion in 'Addressables' started by SevenPointRed, May 24, 2022.

  1. SevenPointRed

    SevenPointRed

    Joined:
    Feb 3, 2016
    Posts:
    218
    In a release build some addressables fail to load with this error, they are all local bundles.

    Code (CSharp):
    1. ArgumentNullException: Value cannot be null.
    2. Parameter name: _unity_self
    3. UnityEngine.ResourceManagement.Util.UnityWebRequestUtilities.IsAssetBundleDownloaded
     
  2. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,472
    have you solved? I maybe met same error..
     
  3. SevenPointRed

    SevenPointRed

    Joined:
    Feb 3, 2016
    Posts:
    218
    Updating addressables solved the issue.
     
  4. denravonska

    denravonska

    Joined:
    Nov 20, 2020
    Posts:
    12
    Come on, Unity. Why is this not a part of the build process? Is the intended workflow that you store them in the version control and manually rebuild them all on updates? If so, there will be a never ending flood of builds working on platform X but not on Y, only because you missed one rebuild.
     
  5. leegod

    leegod

    Joined:
    May 5, 2010
    Posts:
    2,472
    hm...what version? I am using Unity 2021.1.16f1, addressable newest version Version 1.16.19 - April 15, 2021

    and I met error ( ArgumentNullException ) at windows standalone build. (no problem when run at unity editor), of course did addressable Build-New Build-Default Build Script.
     
  6. SevenPointRed

    SevenPointRed

    Joined:
    Feb 3, 2016
    Posts:
    218
    I'm now using the beta as there were breaking bugs in the LTS, I'm now on 1.20.5, there is 1.21.0 but that breaks completely for me.