Search Issue Tracker

Duplicate

Votes

0

Found in [Package]

1.0.0-preview.12

Issue ID

1312093

Regression

Yes

Namespace and TextDelegates errors when installing UI Toolkit package

Package: UI Toolkit

-

How to reproduce:
1. Open new Unity project
2. In Package Manager window, add 'com.unity.ui' package from git url
3. Observe Console window

Expected result: No errors
Actual result: Missing namespace or "TextDelegates is inaccessible due to its protection level" errors

Reproducible with: 1.0.0-preview.12 (2020.2.3f1), 1.0.0-preview.13 (2020.2.3f1, 2021.1.0b5)
Not reproducible with: 1.0.0-preview.11 (2020.2.3f1)
Could not test with: 2018.4.31f1, 2019.4.20f1 (UI Toolkit package unavailable), 2021.2.0a4 (missing namespace errors)

Workaround:
Reimport UIToolkit (Project Window -> Packages -> Right-click UI Toolkit -> Reimport), Update TextMeshPro to 3.0.3 (otherwise you will be spammed with warnings). This should fix the issue.

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.