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
- [macOS] Project fails to load when Virtual Artifacts are Corrupted
- Long scheduler times on main thread when using InstantiateAsync with a singular massive Prefab
- The project hangs upon opening it when importing the "discrete_rank2_vector_v2_0.onnx" file
- Opening the Look Dev hangs the Editor when the window is opened for the first time in the project or after deleting the Library folder
- Look Dev has blurry icons on 4k monitors
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17