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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

1.5.0 & 1.5.1 Bug with Asset References

Discussion in 'Addressables' started by GB_HB, Jan 14, 2020.

  1. GB_HB

    GB_HB

    Joined:
    Jul 14, 2019
    Posts:
    20
    If this has been brought up already please delete this thread. I quickly skimmed and didn't see anything. I was talking with a buddy that was running into problems using the AssetReference class. I went ahead and did some tests replicating his issue.

    When debbuging the Asset ref which has been set through the editor I am met with a null reference exception.
    Quick editor picture, not in play mode and in play mode.

    Unity_L50hP29bgN.png pZEHxqoc5L.png


    In attempting to load and use the asset I am met with these two errors in the console.
    Unity_AmF82T1frF.png Unity_mplVCtOJUx.png
     

    Attached Files:

  2. GB_HB

    GB_HB

    Joined:
    Jul 14, 2019
    Posts:
    20
    This is still an issue when updated to 1.5.1. I also sent in an error report a few days ago. Just an additional heads up. :)
     
  3. Shaunyowns

    Shaunyowns

    Unity Technologies

    Joined:
    Nov 4, 2019
    Posts:
    328
    Hey @badgerdox, first of all thanks for sending in a report! I'll send this post over for you also :)
     
  4. davidla_unity

    davidla_unity

    Unity Technologies

    Joined:
    Nov 17, 2016
    Posts:
    736
    Hey @badgerdox are you only seeing this with sprites or is it with any kind of asset? We typically have to special case sprites and sprite atlases so if you're seeing this with either of those asset types I wouldn't be surprised.
     
    GB_HB likes this.