Search Issue Tracker

Fixed

Fixed in 1.21.21, 2.1.0

Votes

0

Found in [Package]

1.21.19

2.0.9

Issue ID

ADDR-3627

Regression

No

AssetRef can't be assigned to Scriptable Objects when the Scriptable Object is an Addressable asset

Package: Addressables

-

How to reproduce:
1. Open the attached project "Property Drawer.zip"
2. Select Assets/TestSO.asset
3. Set "My Asset Ref" to None
4. Assign a prefab to the "My Asset Ref" field in the Inspector window

Expected results: Prefab is assigned
Actual results: "NullReferenceException: SerializedObject of SerializedProperty has been Disposed." is thrown

Reproducible with: 1.21.19 (2022.3.20f1), 2.0.6 (2023.2.10f1, 2023.3.0b7)
Could not test with: 2021.3.35f1 (compilation errors in the Console window)

Reproducible on: Windows 11 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.