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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Add comment