Search Issue Tracker
Fixed in 1.0.0-preview.16
Votes
1
Found in [Package]
1.0.0-preview14
Issue ID
1346603
Regression
Yes
[UI Builder] Installing UI Builder in a new project issues lots of console errors in latest 2021.2
Repro steps:
- make a new project with 2021.2.0b2 (or newer)
- add the UI Builder project by modifuing the manifest.json and adding this line: "com.unity.ui.builder": "1.0.0-preview.14"
- wait for the editor to install the new package
- notice now that there are console errors:
Library\PackageCache\com.unity.ui.builder@1.0.0-preview.14\Editor\Builder\Utilities\BuilderUXMLEditorFactories.cs(64,46): error CS0122: 'VisualElementFactoryRegistry.RegisterFactory(IUxmlFactory)' is inaccessible due to its protection level
Reproducible in: 2022.1, 2021.2.0b1 all the way back to 2021.2.0a12
Not reproducible in 2021.1 or any version older than 2021.2.0a11
-
Patrrashitel
Jul 25, 2021 14:16
Just delete your UI Builder package, then navigate Window->Ui Toolkit->Ui Builder
-
Patrrashitel
Jul 25, 2021 13:36
You dont have to install UIToolkit or UI Builder in 2021.2 anymore. They are in project by default
-
LoneDev6
Jul 07, 2021 15:41
Same issue on 2021.2.0b2.3053
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Usage of Adaptive Probe Volumes throws a lot of IndexOutOfRangeException and Assertion Failed errors
- Prefab overrides don't recover missing managed references
- Trail Renderer visual doesn't match the positions of vertices when they have been offset
- [Mobile] The Material is not visible when using the Decal Renderer Feature
- Uncaught TypeError: Cannot read properties of undefined is thrown when the tab is inactive for several minutes
Resolution Note (fix version 1.0.0-preview.16):
Fixed in com.unity.ui.builder 1.0.0-preview.16: [UI Builder] Installing UI Builder in a new project issues lots of console errors in latest 2021.2