Steps to reproduce:
- Create a new project using Universal 3D template
- Go to Assets > Create > UI Toolkit > UI Document (UXML)
- Open the created .uxml asset in UI Builder
- Add a Visual Element to the Hierarchy
- In the Hierarchy, expand the "Filter" foldout
- Enter Play mode
- Observe the "Filter" foldout
Actual results: Foldout collapses
Expected results: Foldout remains expanded/open
Reproducible with versions: 6000.3.8f1, 6000.4.1f1, 6000.5.0b1, 6000.6.0a1
Can’t test with versions: 6000.0.71 (Filter foldout not available)
Tested on (OS): macOS 26.3
Notes:
- Also reproduces when docking/undocking the UI Builder
- Does not reproduce with other foldouts
- Does not reproduce if all foldouts are expanded