Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2020.3
2021.2
2022.1
2022.2
2022.2.0a4
Issue ID
1399445
Regression
No
"Invalid iteration" when selecting multiple objects and adding elements to the list through multiple Inspectors
Reproduction steps:
1. Open the attached "1399445.zip" project
2. Open the "SampleScene" Scene
3. Open two Inspector windows
4. Select the "First" and "Second" GameObjects
5. Go to Inspector -> "Some Array (Script)" Component -> Test
6. Add at least two elements to the list
7. In the second Inspector add an element to the list
Expected result: There are no error messages and the UI of the list is consistent
Actual result: "Invalid iteration - (You need to stop calling Next when it returns false)" error message is thrown and the "Some Array (Script)" Component starts flickering or UI of the list becomes inconsistent
Reproducible with: 2020.3.29f1, 2021.2.12f1, 2022.1.0b8, 2022.2.0a4
Couldn't test with: 2019.4.36f1 ("Add to the list" button is not introduced)
Notes:
- The error message and flickering appear only in 2022.2.0a4
- Flickering appears only after adding more than two elements to the list
- In the versions below 2022.2.0a4 the amount of elements or the UI of the list is inconsistent
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
- Editor crashes on D3D12GetInterface when repeatedly enabling and disabling 256 text components
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17