Search Issue Tracker

Won't Fix

Votes

4

Found in

5.6.2f1

Issue ID

958224

Regression

No

GUILayout.BeginArea does not work with a Rect provided by EditorGUILayout.GetControlRect

IMGUI

-

To reproduce:

1. Open the project, attached by the user (BeginArea.zip)
2. Open the "Demo" scene
3. Select GameObject in the Hierarchy
4. Observe the Test Behaviour component in the Inspector

Expected: GUILayout.BeginArea works fine and shows the controls inside it when the rect is passed to it that was produced by EditorGUILayout.GetControlRect

Reproduced in 5.4.5p4, 5.5.5p1, 5.6.2f1, 5.6.4f1, 2017.1.2p1, 2017.2.0f3, 2017.3.0b4

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.