Search Issue Tracker
Fixed in 13.0.0
Votes
0
Found in [Package]
12.0.0
Issue ID
1348910
Regression
Yes
"InvalidOperationException: Collection was modified" error thrown
"InvalidOperationException: Collection was modified" error thrown.
"InvalidOperationException: Collection was modified; enumeration operation may not execute" error thrown on undo operation after adding properties under category.
Steps to Repro:
1. Create a new URP Project
2. Create > shader Graph > Blank shader Graph > Open shader editor
3. Shader Graph window > blackboard window > add a category
4.Under category add float > add Vector 2 > Vector 3
5. Edit > undo Add shader input
6.Observe the "InvalidOperationException: Collection was modified"
error in the console
Expected Result: No errors thrown in the Console
Actual Result: "InvalidOperationException: Collection was modified"
error in the console
Reproducible in:2022.1.0a1, 2021.2.b3, 2021.2.0b1
Environment: Windows 10 and macOS 11.3
Note: Backboard organization category functionality is introduced for 2021.2.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
Add comment