Search Issue Tracker

Fixed

Fixed in 2021.3.35f1, 2022.3.20f1, 2023.2.9f1, 2023.3.0b5

Votes

0

Found in

2021.3.28f1

2022.3.4f1

2023.1.4f1

2023.2.0a23

2023.3.0a1

Issue ID

UUM-41831

Regression

No

"Element [Element name] has no registered factory method." error is thrown when the "uxmlQualifiedName" property is overridden

--

-

Reproduction steps:
1. Open the "IN-45969.zip" project
2. Open "Assets/UXML/MyUXML.uxml"
3. Open the Project tab in the Library section of the UI Builder window
4. Drag "Custom Controls (C#) -> ThisIsACustomName" to the Hierarchy section
5. Hover over "UI Documents (UXML) -> Assets -> UXML -> MyUXML.uxml"
6. Observe the Console

Expected result: No error is thrown
Actual result: "Element 'MyCustomVisualElement' has no registered factory method." error is thrown

Reproducible with: 2021.3.28f1, 2022.3.4f1, 2023.1.4f1, 2023.2.0a23

Reproducible on: Windows 10

Note: The error message may be "Element 'MyCustomVisualElement' is missing a UxmlElementAttribute and has no registered factory method."

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.