Steps to reproduce:
- Open the attached project
- Open the New Scene
- Open the NewUXMLTemplate.uxml asset in the UI Builder
- Drag a Label element to the UI Builder's Canvas
Actual results: Deprecated UxmlTraits API warnings are thrown when Visual Elements are added
Expected results: Visual element is added without warnings or errors
Reproducible with versions: 6000.4.0a2, 6000.4.0b1, 6000.5.0a2
Not reproducible with versions: 6000.0.63f1, 6000.2.14f1, 6000.3.0f1, 6000.4.0a1
Reproducible on (OS): Ubuntu 24.04, macOS 26.1
Notes:
- Warnings are only thrown when editing a UI Document that is placed inside the Scene