Search Issue Tracker

Fixed in 2020.2.X

Votes

0

Found in

2020.1.0a24

2020.1.0a26

2020.2.0a1

Issue ID

1224329

Regression

Yes

[Themes] "EndLayoutGroup" errors are thrown when GUI items are highlighted by content

Themes

-

"EndLayoutGroup" errors are thrown in console when GUI items are highlighted by content in Highlighter.Highlight method. In previous versions, appropriate warning is displayed if the item position is not found in the window. Refer the attached video

Steps to reproduce:
1) Create a new project
2) Import attached script "HighlighterTester.cs"
3) Window > Highlighter Tester
4) Select Highlight by content

Actual result: "EndLayoutGroup" errors are thrown in console and GUI items are not highlighted by content

Expected result: No errors are thrown in console

Occurring on: 2020.2.0a1, 2020.1.0a26, 2020.1.0a24
Working fine on: 2020.1.0a23

Environment: Occurring on both Windows and Mac

Stack trace:
EndLayoutGroup: BeginLayoutGroup must be called first.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.