Search Issue Tracker

Fixed in Unity 2018.2

Votes

1

Found in

2018.1.0b9

Issue ID

1009032

Regression

No

EditorGUILayout.PropertyField causes the Editor to freeze when used with element in an array with large index

IMGUI

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash, freeze, data loss, work stops

Reproduction steps:
1. Download "SlowPropertyField.zip" project and open in Unity
2. Select "Select This One" object in the hierarchy

Expected: Unity editor stays responsive
Actual: Unity editor freezes

Reproduced on: 5.6.5p2; 2017.1.3p2; 2017.2.2p1; 2017.3.1p4; 2018.1.0b11; 2018.2.0a3

Fixed on: 2018.2.0b1

Comments (1)

  1. 70c1eb65dbdb8aedc64c8798cb64e038?d=mm

    Finnigan

    Jul 24, 2018 20:49

    The following line: EditorGUILayout.PropertyField (entityRulesProperty.GetArrayElementAtIndex(ruleIndex).FindPropertyRelative("possibleEntities"), true) was working with Unity 2017.1.6f1. In Unity 2018.2.0f2 is not working anymore, it only shows the foldout and the space below but not the content.

All about bugs

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