Search Issue Tracker
Won't Fix
Votes
0
Found in [Package]
1.3.1
1.4.2
2.0.1-pre.18
Issue ID
DSTR-704
Regression
No
[Test Framework] Tests fail with "ArgumentException: An item with the same key has already been added" error when running all tests
Reproduction steps:
1. Open the attached project “ReproTest”
2. Open Window > General > Test Runner
3. Run all tests
Expected result: Tests pass
Actual result: Tests fail with “ArgumentException: An item with the same key has already been added. Key: BugDemo.Tests.ExampleEditorTests.ExampleTest” error
Reproducible with: 1.3.1, 2.0.1-pre.18 (2020.3.42f1, 2021.3.15f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a21)
Not reproducible with: 2.0.1-exp.1, 2.0.1-exp2 (2020.3.42f1, 2021.3.15f1, 2022.1.23f1, 2022.2.0f1, 2023.1.0a21)
Reproducible on: Windows 10
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
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
- Character animation freezes when toggling animator on/off in a coroutine
- Certain textures are incorrectly marked in the render pass list when observed through Render Graph Viewer
- "Assertion failed on expression" error occurs when multiple Animation Components are instantiated after changing the Culling Type
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.