Search Issue Tracker

Fixed in 2018.2.X

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

-

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

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.