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

Package: UI Builder

-

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

  1. 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

Comments (3)

  1. Patrrashitel

    Jul 25, 2021 14:16

    Just delete your UI Builder package, then navigate Window->Ui Toolkit->Ui Builder

  2. 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

  3. LoneDev6

    Jul 07, 2021 15:41

    Same issue on 2021.2.0b2.3053

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.