Search Issue Tracker

Fixed in 2018.2.X

Votes

8

Found in

2018.2.0a4

2018.2.0f2

Issue ID

1061966

Regression

Yes

UnityException is thrown when calling EditorGUIUtility ObjectPicker methods from Custom Editor

IMGUI

-

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. SimonDarksideJ

    Aug 31, 2018 17:20

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

  2. FloHal

    Aug 31, 2018 17:14

    Confirmed, still broken in 2018.2.6f1....

  3. MMOARgames

    Aug 31, 2018 16:56

    Still broken in 2018.2.6f1

  4. StephenHodgson-Valorem

    Aug 24, 2018 16:38

    Reproducable all the way up to 2018.2.5f1

Add comment

Log in to post comment