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
- [Android][IL2CPP] Player crashes on __memcpy_aarch64_simd+276 when invoking native code via a plugin on some ARM64 Android devices
- [Android]Resources fail to load when the AAB build contains a large Addressables Bundle
- Unity is loading internal version of SharpZipLib instead of local version
- The Context Menu items are ordered incorrectly
- Audio Mixer does not change volume when lowering volume on an Audio Mixer loaded from AssetBundles
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