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
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
Add comment