Search Issue Tracker
Fixed
Fixed in 2021.3.35f1, 2022.3.19f1, 2023.2.9f1, 2023.3.0b5
Votes
0
Found in
2023.3.0b3
Issue ID
UUM-60883
Regression
No
Unknown type: 'Unity.UI.Builder.UnityUIBuilderSelectionMarker' when setting background color of a Canvas
After changing Canvas background color and entering playmode, canvas contains text "Unknown type: 'Unity.UI.Builder.UnityUIBuilderSelectionMarker'". It also prints this error to the console: "Element 'Unity.UI.Builder.UnityUIBuilderSelectionMarker' is missing a UxmlElementAttribute and has no registered factory method. Please ensure that you have the correct namespace imported."
Repro steps:
1. Open the attached project;
2. Open SampleScene;
3. Enter playmode;
4. Note that there are no errors;
5. Leave playmode;
6. Open UI Builder;
7. Open Assets/UI/MainUI.uxml in it;
8. Click on Canvas;
9. Enable the "Canvas Background" component;
10. Enter playmode;
11. Notice errors.
I've also attached a video to demonstrate the bug.
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