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
- MSB3277 conflicts between different versions of "System.Numerics.Vectors" when using DotNet 11.0
- "Cannot create Settings Providers for: CreateAllChildSettingsProviders" error is thrown in the Console after fixing PolySpatial visionOS package validation error after installing XR Interaction Toolkit VisionOS Sample
- "Unable to find style 'VideoClipImporterLabel' in skin 'GameSkin' " warning thrown when converting the Video Clip Inspector to a floating window in Play mode
- Unclear "Failed to start primary listening socket" error when launching the Multiplayer Play Mode second player and many Unity instances are running
- The cogwheel button in the Build History window gets distorted when the Build History window is resized or options are ticked in the toolbar
Add comment