Search Issue Tracker

Active

Under Consideration for 1.21.X, 2.0.X

Votes

1

Found in [Package]

1.21.18

2.0.3

Issue ID

ADDR-3537

Regression

No

"ArgumentNullException: Value cannot be null." when using AssetReferenceT<T>

Package: Addressables

-

How to reproduce:
1. Open the attached project "DefaultProjectURP.zip"
2. Select Assets/Scripts/SOs/TestSO.asset
3. Drag and drop Cube_Blue.prefab into the "None (Addressable Cube)" field in the Inspector window

Expected results: No errors are thrown
Actual results: "ArgumentNullException: Value cannot be null." is thrown in the Console window

Reproducible with: 1.21.18, 2.0.3 (2021.3.31f1, 2022.3.10f1, 2023.1.14f1, 2023.2.0b12, 2023.3.0a8)

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.