Steps to reproduce:
- Create a new Unity project using the Universal 3D template
- Install the Visual Effect Graph package (com.unity.visualeffectgraph)
- Create a new Visual Effect Graph (Assets > Create > Visual Effects > Visual Effect Graph > Empty VFX)
- Select the created Visual Effect Graph in the Project window
- Scroll all the way down in the Inspector
- Toggle the "Use as Template" property
- Observe the Console window
Actual results: "InvalidOperationException: Collection was modified; enumeration operation may not execute." errors are thrown
Expected results: No errors are thrown
Reproducible with versions: 6000.6.0b1, 6000.6.0b8, 6000.7.0a4
Not reproducible with versions: 6000.3.22f1, 6000.5.8f1, 6000.6.0a7
Can’t test with versions: 6000.0.0f1, 6000.0.81f1 (due to no Template feature)
Tested on (OS): MacOS Silicon Tahoe 26.5.1