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
- Crash on ExtractActiveCasterInfo when navigating the scene view in a project with specific lighting data
- Build Profile name increments when numeric suffix is removed from duplicate Profile name
- "Unrecognized block header in profiler data file, stopping deserialization" error is shown and no more profiler data is recorded when the Player is connected and profiler recording is enabled/disabled few times
- Shader error and warnings thrown when setting HDRP as an Active Target in Blank Shader Graph
- Visual Studio Code does not integrate with the project when the .slnx project is opened
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a17