Search Issue Tracker

Fixed

Fixed in 6000.0.59f1, 6000.2.5f1, 6000.3.0a5

Votes

0

Found in

6000.0.50f1

6000.1.6f1

6000.2.0b5

6000.3.0a1

Issue ID

UUM-108766

Regression

Yes

UI Builder “Create Template” Fails with Invalid UXML and Missing Root Element Errors

-

Steps to reproduce:
1. Open the user's attached project "roster-tool.zip"
2. Open the "Assets/Views/GameView.uxml" file in the UI Builder
3. In the UI Builder window -> Hierarchy, Right-click on the "#TableTab" and select "Create Template."
4. Observe that the operation fails, and errors appear in the console

Expected Results: The template should be created successfully
Actual Results: The operation fails, and the following errors appear in the console: "Invalid UXML or USS: System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. Parameter name: Index out of range: 1"

Reproducible with: 6000.0.50f1, 6000.1.6f1, 6000.2.0a2 (193c98086e14), 6000.2.0b5, 6000.3.0a1
Not reproducible with: 6000.2.0a1 (8a01b55183a9)
Could not effectively test on 2021.3.52f1 and 2022.3.63f1 due to different errors present and UXML file being changed after downgrading

Environment tested: Windows 11 24H2

Notes:
-On 2022.3.63f1 these console errors are present after trying to create a template, furthermore the UXML file itself changed after downgrading: "Element 'UnityEngine.UIElements.TabView' has no registered factory method."
-According to the customer, there should be a "missing root element" error present with the reproduction, however neither CQA nor Engine Support could reproduce it

Add comment

Log in to post comment