Reproduction steps:
1. Open the attached “IN-147407“ project
2. Open Entities Hierarchy window (Window > Entities > Hierarchy)
3. Observe the Entities Hierarchy and Console windows
Actual result: The Entities Hierarchy window opens with no content and a console error “ArgumentException: An item with the same key has already been added. Key: Test” logged
Expected result: The Entities Hierarchy window opens and displays its content
Reproducible with: 1.3.10 (6000.0.2f1), 1.4.8 (6000.0.80f1, 6000.3.20f1), 6.5.0 (6000.5.5f1, 6000.6.0b5, 6000.7.0a3)
Not reproducible with: 1.3.9 (6000.0.2f1)
Reproducible on: Windows 11, Ubuntu 24.04.4
Not reproducible on: No other environment tested
Note:
- Changing the component type from ISharedComponentData to IComponentData prevents the reproduction