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
- “Readme” Asset is unreadable in the Inspector window when switching Editor Theme to Light
- “NullReferenceException” error thrown when switching Editor Theme to Light if “Unity Version Control” tab is enabled
- A Warning is displayed in the Inspector when a Mesh with any Material is added as a Terrain Detail
- [Android][Vulkan] Memory leak when playing and stopping a video using the Video Player on some devices
- Caret moves by a character when typing "." and any number into 'Grid and Snap' toolbar's input field
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17