Search Issue Tracker

Fixed

Votes

0

Found in [Package]

1.8.3

Issue ID

ADDR-1259

Regression

Yes

Inspector is constantly redrawn and Editor is endlessly updating when select prefab has AssetReference to itself

Package: Build Pipeline - Addressables

-

Reproduction steps:
1. Open the attached project ("case_1252789-EndlessReferencing.zip")
2. In the Project window, select "GameObject" prefab asset
3. Move the mouse around while inspecting the Inspector window and the cursor

Expected result: Inspector is updated once
Actual result: Inspector keeps getting updated as long as the AssetReference is visible in the window

Reproducible with: 2018.4.23f1, 2019.4.0f1, 2020.1.0b12, 2020.2.0a14
Reproducible with package versions: 1.8.3, 1.9.2
Not reproducible with package versions: 1.1.5, 1.7.5

Note:
1. The issue only reproduces when the script component with the AssetReference is visible in the Inspector
2. On 2020.2 stream the issue is less noticeable but still reproducible

  1. Resolution Note:

    This was already fixed by other changes introduced in 1.12.0
    Validated visually (see new attached video) and also set breakpoints in version 1.8.0 and saw AssetReferenceDrawer.OnGui() being called infinitely with one mouse movement, changed to 1.12.0 and saw it was only called when Inspector is moused over and not being called infinitely.

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.