Search Issue Tracker
Fixed in 2021.3.35f1
Fixed in 2021.3.X, 2022.3.X, 2023.2.X, 2023.3.X, 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."
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Add comment