Search Issue Tracker
Fixed in 1.0.0-preview.18
Votes
0
Found in [Package]
1.0.0-preview.18
Issue ID
1408441
Regression
No
Type or namespace name UIDocument could not be found when opening the project
Reproduction steps:
1. Open the attached project "1408441.zip"
2. Observe the console
Expected result: No errors upon opening the project
Actual result: Error occurs when the project is opened
Reproducible with: 1.0.0-preview.17, 1.0.0-preview.18 (2020.3.35f1)
Not reproducible with: 1.0.0-preview.18 (2021.1.13f1, 2021.1.28f1), Built-in (2021.3.3f1, 2022.1.1f1, 2022.2.0a13)
Couldn't test: 2019.4.37f1 (no UI Toolkit version available), 1.0.0-preview.18 (2021.1.12f1 (project breaks))
Error CS0246: The type or namespace name 'UIDocument' could not be found (are you missing a using directive or an assembly reference?)
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
- GPU utilization increases by 20% on Meta Quest headsets when Render Graph is enabled on 6000.0.16f1 and higher
- Value on Slider (Int) control in UI Builder displays as default when saving UI Document
- Color mismatch in UI Builders Library panel when the Editors theme is set to Light Mode
- [Android ] "AndroidJNI.ToBooleanArray" returns a random non-zero value instead of "IntPtr.Zero" when the method argument is null
- Non-HDR color picker opens when selecting material color with HDR enabled
Resolution Note (fix version 1.0.0-preview.18):
Fixed in: 1.0.0-preview.18 (2021.1.13f1)