Search Issue Tracker

Fixed in 2021.1.X

Fixed in 2020.2.X

Votes

0

Found in

2019.3.0a5

Issue ID

1158081

Regression

Yes

Targets are null in custom editors during OnDisable when deleting an asset in adb2

Asset - Database

-

How to reproduce:

- Select or create a new Asset of type NewScriptableObject in the project.
- Delete the asset from the project browser view.

Expected result: the asset is destroyed and not error shows up in the console.
Actual Result: Null Reference Exception is thrown by the custom editor.

This is only a bug reproducible with adb2, everything is working fine in v1.

  1. Resolution Note (fix version 2021.1):

    Fixed from 2021.1.0a1.495 and latest

  2. Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0b10

Add comment

Log in to post comment