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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment