How to reproduce:
- Import the attached VFX
- Convert Set Velocity from Direction & Speed to Subgraph
- Observe that Subgraph block is created but block of Set velocity from Direction & Speed remains in the Init Context
Expected result:Subgraph block is created and Set velocity from Direction & Speed is not present in Init Context
Actual result: Subgraph block is created and Set velocity from Direction & Speed is present in Init Context
Notes:
- Reproduced on macOS
- Error is thrown ArgumentException: Cannot assign an object of type System.UInt32 to VFXSerializedObject of type System.Single
UnityEditor.VFX.VFXSerializableObject.Set (System.Object obj)
- Not reproducible when uint is in Default Mode; reproducible when Uint is Range Mode
- Might be related to this bug - [Internal link]