2022.1.0b9 UI Builder / Label / Text property loses focus while typing

In UI Builder, when editing the Text property of the Label control, the field loses focus and is accompanied by an error in the console:

InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.List1+Enumerator[T].MoveNextRare () (at <cdc4992cc04a4e77a24a09cd121af77b>:0) System.Collections.Generic.List1+Enumerator[T].MoveNext () (at :0)
UnityEngine.UIElements.UIElementsRuntimeUtility.UpdateRuntimePanels () (at :0)
UnityEngine.UIElements.UIElementsRuntimeUtilityNative.UpdateRuntimePanels () (at :0)

This means that trying to type beyond 1 character in the text property fails. I’ve resorted to copy/pasting text or editing the uxml file directly.

Hi @fdefalco ,

This is a known issue and a fix is being worked on: Unity Issue Tracker - UI Builder&#39;s Inspector text field loses focus after input when interacting with StyleSheet&#39;s dropdown menu beforehand