Search Issue Tracker

Fixed in Unity 2018.2

Votes

8

Found in

2018.2.0f2

Issue ID

1061966

Regression

Yes

UnityException is thrown when calling EditorGUIUtility ObjectPicker methods from Custom Editor

IMGUI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 3Secondary functionality broken

How to reproduce:
1. Open the attached "Test1061966.zip" project's SampleScene
2. Select Test GameObject from the Hierarchy
3. Observe the Exceptions in the Console window

Expected result: no Exceptions are thrown when the GameObject is selected
Actual result: UnityException is thrown when the GameObject is selected

Reproducible with: 2018.2.0a4, 2018.2.0f2, 2018.3.0a5
Not reproducible with: 2017.1.5f1, 2017.2.3p2, 2017.4.7f1, 2018.1.9f1, 2018.2.0a3

Note: the issue occurs when calling EditorGUIUtility.GetObjectPickerControlID or EditorGUIUtility.GetObjectPickerObject

Update: fixed in 2018.2.13f1, 2018.3.0a11

Comments (4)

  1. Cf328559b9233f5f3a6f21eb11f70a4a?d=mm

    SimonDarksideJ

    Aug 31, 2018 17:20

    Still reproducible in 2018.2.6f1
    Nothing reported in the release notes to backup this fix.

  2. D69c5546ca4e10034dc1464bd79815fb?d=mm

    FloHal

    Aug 31, 2018 17:14

    Confirmed, still broken in 2018.2.6f1....

  3. 35b4056d02aa6363eb85e59c7a5a2e25?d=mm

    MMOARgames

    Aug 31, 2018 16:56

    Still broken in 2018.2.6f1

  4. 06321d51caa2fe94ca2a5b72de546233?d=mm

    StephenHodgson-Valorem

    Aug 24, 2018 16:38

    Reproducable all the way up to 2018.2.5f1

All about bugs

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