How to reproduce:
1. Create and open a new project
2. Open package manager (Window > Package management > Package Manager)
3. Install App UI package (com.unity.dt.app-ui)
4. In the app menu, navigate to Assets > Update UXML Schema
5. Observe the Console
Actual result: An “XmlSchemaException: The simpleType 'Unity.AppUI.UI:VariantType' has already been declared.” error is thrown
Expected result: No errors are thrown
Reproducible with: 1.2.0 (6000.4.0a1), 2.2.0-pre.3 (6000.4.0a1, 6000.4.0b1, 6000.5.0a3)
Not reproducible with: 2.2.0-pre.3 (6000.0.64f1, 6000.3.0a6)
Reproducible on: macOS 26.1 (M1 Pro)
Not reproducible on: No other environments tested