1.5.0 & 1.5.1 Bug with Asset References

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.

5368128--543102--Unity_L50hP29bgN.png 5368128--543099--pZEHxqoc5L.png

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

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. :slight_smile:

Hey @GB_HB , first of all thanks for sending in a report! I’ll send this post over for you also :slight_smile:

Hey @GB_HB 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.

1 Like