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."