Search Issue Tracker

Fixed in 2020.2

Fixed in 2019.3, 2020.1

Votes

0

Found in

2019.1.0b7

2019.3

2019.3.1f1

2020.1

2020.2

Issue ID

1223793

Regression

Yes

Dragging a UI Prefab to the Scene view incorrectly shows it in the Hierarchy and an ArgumentOutOfRangeException is thrown

Scene Hierarchy

-

Steps to reproduce:
1. Create a UI slider
2. Create a Prefab of it.
3. Drag the Prefab Asset over the Scene View (without letting go) then over the Hierarchy

Expected result: No Exception is thrown and Prefab is not added to the Hierarchy
Actual result: ArgumentOutOfRangeException is thrown and Prefab is added to the Hierarchy

Reproduced in: 2019.1.0b7, 2019.3.4f1, 2020.1.0a26, 2020.2.0a1
Not reproducible in: 2017.4.37f1, 2018.4.18f1, 2019.1.0b6

Notes:
- The issue is reproducible with the following UI objects: Slider, Scrollbar and Scrollview
- You can make the error appear multiple times by dragging back and forth over Scene view and Hierarchy repeatedly
- Also note that while dragging over the Scene view (without letting go) a temporary instance of the Prefab appears in the Hierarchy, which should not happen. Perhaps some code that hides temporary objects used for Scene view dragging preview is not being run for some reason.

Bisection identified this PR as causing the regression:
https://ono.unity3d.com/unity/unity/pull-request/83956/_/2019.1/prefabs/driven-properties-remove-overrides-2
Specifically the revision:
https://ono.unity3d.com/unity/unity/changeset/b437480ddbb1

  1. Response avatar

    Resolution Note (fix version 2020.2):

    Fixed in 2020.2.0a9

  2. Response avatar

    Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0b9

  3. Response avatar

    Resolution Note (fix version 2019.3):

    Fixed in 2019.3.15f1

Comments (2)

  1. 3732e8080930cddcfb5fe85d22ae75dd?d=mm

    sandeepaleti36

    Mar 02, 2020 07:04

    https://framaroot-app.com/towelroot-apk
    check website and comment your reviews.

  2. C604bca1e30789ce59d0f332d77b087f?d=mm

    Sacord

    Mar 01, 2020 03:32

    <a href="https://042baze.com/">Wow Its Very Nice</a>

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.