Steps to reproduce:
1. Create a new graph
2. Convert Output to Output Particle ShaderGraph Octagon or Triangle
Actual results: Output is not converted and error is thrown to the console
Expected results: Output converts to Octagon or Triangle based on what was selected
Reproducible with versions: 6000.0.12f1
Not reproducible with versions: n/a
Can’t test with versions: n/a
Tested on (OS): macOS
Notes: Converting to Quad seems fine
Error message:
ArgumentException: Object of type 'System.String' cannot be converted to type 'UnityEditor.VFX.ParticleTopology'.
System.RuntimeType.CheckValue (System.Object value, System.Reflection.Binder binder, System.Globalization.CultureInfo culture, System.Reflection.BindingFlags invokeAttr) (at <ce95f63947c64e4bbf5929ebe610c440>:0)
System.Reflection.RuntimeFieldInfo.SetValue (System.Object obj, System.Object val, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Globalization.CultureInfo culture) (at <ce95f63947c64e4bbf5929ebe610c440>:0)
System.Reflection.FieldInfo.SetValue (System.Object obj, System.Object value) (at <ce95f63947c64e4bbf5929ebe610c440>:0)
UnityEditor.VFX.VFXModel.SetSettingValueAndReturnIfChanged (System.String name, System.Object value) (at /unity/packages/com.unity.visualeffectgraph/Editor/Models/VFXModel.cs:323)