Search Unity

Updated from 4.8 to 5.3 and now getting Null Reference Exception

Discussion in 'Addressables' started by corwynofamber_unity, Jan 27, 2019.

  1. corwynofamber_unity

    corwynofamber_unity

    Joined:
    Jan 3, 2019
    Posts:
    4
    I get the following error when I run the project
    AddressableAssestsError.png
     
  2. CapnCromulent

    CapnCromulent

    Joined:
    Sep 7, 2010
    Posts:
    45
    Did you try opening the Addressable window again after upgrading? It may be that the DefaultObject lost its reference to your AddressableAssetSettings.asset and you need to re-initialize.
     
  3. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Delete everything Addressables-related and recreate it directly with 0.5.3. For us this was the only way to properly migrate to 0.5.3 as the upgrade did not work.
     
  4. Rotary-Heart

    Rotary-Heart

    Joined:
    Dec 18, 2012
    Posts:
    813
    Select your AddressablesSettings asset and check in the inspector if it's missing any reference. I got an issue where it was missing the packed build asset reference.
     
    MNNoxMortem likes this.