Search Issue Tracker
Fixed in 2022.1.9f1, 2022.2.0b1, 2023.1.0a1
"ArgumentException" error appears when opening Project Library in the UI Builder if the script is using "namespace Assets"
How to reproduce:
1. Open project "UIBuilderBug.zip"
2. Open the "TestDocument.uxml" document (Assets > TestDocument)
3. In the UI Builder press the "Project" button in the Library tab
4. Observe the Console window
Expected result: No errors appear
Actual result: "ArgumentException: An item with the same key has already been added. Key: 96046115" error appears
Reproducible with: 1.0.0 (2022.1.0a16, 2022.1.0f1, 2022.2.0a12)
Not reproducible with: 1.0.0-preview.18 (2019.4.39f1, 2020.3.34f1), 1.0.0 (2021.3.2f1, 2022.1.0a15)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
- Windows Player exe contains unwanted properties, causing text "Unity Playback Engine" to appear in task bar when mousing over it
- Changes made by the Script in the UI Document are reset when performing an Undo operation after changing the GameObject with this Script
- Emissive materials are broken when loading Scene via SceneManager.LoadScene
- [URP] [Decals] ProxyLighting Decal shader doesn't work in Screen Space Technique
- "Pin in New Scene Dialog" option position migrates with "Inspector" window resizing