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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17