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."
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
- Previously deleted “DefaultLookDevProfile“ is present when upgrading the Editor version
- [Ubuntu] UI text and buttons are missing spaces in Unity Version Control > New Workspace window
- "Inherit attribute is not supported" warning is shown but attributes are available in VFX Graph Output and Update blocks
Add comment