Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
2
Found in
2020.2.0a18
2020.2.0a19
Issue ID
1269167
Regression
Yes
UnityException and ArgumentException errors are thrown when UI Toolkit is added to a new project
How to reproduce:
1. Create a new project
2. Open the created project's folder
3. Open the Packages folder
4. Open the manifest.json file with a text editor
5. Add this line to the manifest.json file: "com.unity.ui": "1.0.0-preview.6",
6. Go back to the Editor
7. Observe the Console log
Expected result: No errors are thrown in the Console log
Actual result: "UnityException: The MakeClientFunc has already been registered. Registration denied." and "ArgumentException: An item with the same key has already been added." error messages are thrown in the Console log (Full error messages in the edit)
Reproducible with: 2020.2.0a18, 2020.2.0a20 (1.0.0-preview.6)
Not reproducible with: 2020.1.2f1, 2020.2.0a17 (1.0.0-preview.6)
Could not test with: 2018.4.26f1, 2019.4.8f1 (UI Toolkit not supported)
Note:
- The Package Manager won't open after adding the package in the manifest.json file and restarting the Editor, the following error message appears in the Console log: "NullReferenceException: Object reference not set to an instance of an object" (Full error message in the edit)
-
twaananen
Apr 04, 2021 13:09
Wait am I understanding this right, you have a fix for this now, when one latest version out is 2021.1.1f and you've scheduled it to roll out in some Fixed in: 2021.1.12f1, so maybe 6-12 months from now? Like this is preventing us from building working builds, shouldn't you escalate this?
-
adam_unity302
Mar 22, 2021 01:30
Also issue with 2020.3.0f1
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
- Any small change in UI Builder Inspector refreshes Editor Inspector
- Inaccurate Box Collider boundaries on a rotated child Cube when the parent GameObject Scale is non-uniform
- [Android] "SHADOWS_SCREEN" set as shader Keyword when no "_ShadowMapTexture" is bound leads to freeze on a build on some Mali GPU devices
- The global scene list is overridden in a project built with command line when the Override Global Scene List setting is disabled in the build profile
- Global Scenes are not included in the Build when building multiple Build Profiles at the same time
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.0a9
Resolution Note (fix version 2021.1):
Fixed in: 2021.1.12f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.4f1