Reproduction steps:
- Open the attached project(“PropertyDrawerBug.zip”)
- Select scene Assets/Scenes/SampleScene
- Select GameObject “Inspect Me”
- Observe the error in the Console Window
Expected result: Properties are created in the GameObjects inspector window
Actual result: Error (The operation is not possible when moved past all properties (Next returned false)) is being thrown to Console Window
Reproducible with: 2022.2.0a9, 2022.2.0b4, 2023.1.0a4
Not reproducible with: 2020.3.37f1, 2021.3.7f1, 2022.1.12f1, 2022.2.0a8
Reproduced on: Windows 11, MacOS 12.3.1 (M1 Max)
Note: The workaround is to create and iterate the copy of the original object.