Search Issue Tracker
Active
Under Consideration for 6000.0.X, 6000.2.X, 6000.3.X, 6000.4.X
Votes
0
Found in
6000.0.59f1
6000.2.6f1
6000.3.0b4
6000.4.0a1
Issue ID
UUM-120288
Regression
No
Removing all enum values from Uint Property in VFX Blackboard causes “ArgumentOutOfRangeException” error and breaks Blackboard
Steps to reproduce:
1. Create project Unity project using High Definition 3D Template
2. Create VFX Asset in Project window (Window > Visual Effects > Visual Effect Graph)
3. Open VFX Asset
4. In Blackboard > Properties add Uint property
5. Expand the Property and change Mode to Enum
6. Remove “Zero” and “One” Enum Values pressing “-“ in array list
7. Observe the the Console window
8. Go back to VFX Asset window
9. Try adding another Property in the Blackboard window
10. Observe the Blackboard window
Actual results: Errors are thrown “ArgumentOutOfRangeException” and unable to add any other Properties to Blackboard, Blackboard breaks
Expected results: It should not be allowed to remove Enum Values from Uint Property, there should be no errors, Blackboard window should not break
Reproducible with versions: 6000.0.59f1, 6000.2.6f1, 6000.3.0b4, 6000.4.0a1
Tested on (OS): macOS Silicon, Tahoe 26.0 (M1)
Full Error:
ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
UnityEditor.VFX.UI.VFXEnumValuePopup..ctor (System.String label, System.Collections.Generic.List`1[T] values) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/Controls/VFXEnumValuePopup.cs:19)
UnityEditor.VFX.UI.UintPropertyRM.CreateField () (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Properties/NumericPropertiesRM.cs:184)
UnityEditor.VFX.UI.SimpleUIPropertyRM`2[T,U]..ctor (UnityEditor.VFX.UI.IPropertyRMProvider controller, System.Single labelWidth) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Properties/PropertyRM.cs:563)
UnityEditor.VFX.UI.NumericPropertyRM`2[T,U]..ctor (UnityEditor.VFX.UI.IPropertyRMProvider controller, System.Single labelWidth) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Properties/NumericPropertiesRM.cs:11)
UnityEditor.VFX.UI.UintPropertyRM..ctor (UnityEditor.VFX.UI.IPropertyRMProvider controller, System.Single labelWidth) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Properties/NumericPropertiesRM.cs:168)
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeConstructorInfo.InternalInvoke (System.Object obj, System.Object[] parameters, System.Boolean wrapExceptions) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
System.Reflection.RuntimeConstructorInfo.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
System.Reflection.RuntimeConstructorInfo.Invoke (System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
System.RuntimeType.CreateInstanceImpl (System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes, System.Threading.StackCrawlMark& stackMark) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
System.Activator.CreateInstance (System.Type type, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, System.Object[] args, System.Globalization.CultureInfo culture, System.Object[] activationAttributes) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
System.Activator.CreateInstance (System.Type type, System.Object[] args) (at <5d2db19ad08a4bb2aaf46f8684d3674e>:0)
UnityEditor.VFX.UI.PropertyRM.Create (UnityEditor.VFX.UI.IPropertyRMProvider controller, System.Single labelWidth) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Properties/PropertyRM.cs:416)
UnityEditor.VFX.UI.VFXBlackboardPropertyView.SelfChange (System.Int32 change) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Blackboard/VFXBlackboardPropertyView.cs:184)
UnityEditor.VFX.UI.VFXBlackboardRow.UnityEditor.VFX.UI.IControlledElement.OnControllerChanged (UnityEditor.VFX.UI.ControllerChangedEvent& e) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Blackboard/VFXBlackboardRow.cs:60)
UnityEditor.VFX.UI.Controller.NotifyEventHandler (UnityEditor.VFX.UI.IControlledElement eventHandler, System.Int32 eventID) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Controllers/Controller.cs:73)
UnityEditor.VFX.UI.Controller.NotifyChange (System.Int32 eventID) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Controllers/Controller.cs:60)
UnityEditor.VFX.UI.VFXParameterController.ModelChanged (UnityEngine.Object obj) (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Elements/Controllers/VFXParameterController.cs:849)
UnityEditor.VFX.UI.VFXController`1[T].OnModelChanged () (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Controllers/Controller.cs:155)
UnityEditor.VFX.UI.VFXViewController.NotifyUpdate () (at ./Library/PackageCache/com.unity.visualeffectgraph@b6a371ddc80a/Editor/GraphView/Views/Controller/VFXViewController.cs:210)
UnityEditor.EditorApplication:Internal_CallUpdateFunctions() (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:392)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader compile process adds shader ID to the constant buffer name when the word "Globals" is being used in Vulkan
- Audio Mixer Snapshot link to the documentation isn’t working
- [Android] UnityPlayer gets paused when another Activity is launched even with Run Without Focus enabled
- Animation Clip and kebab menu icons flicker when Cycle Offset value is being changed
- GameObject orientation incorrect when restarting Player after recentering the view on Meta Quest and Android XR
Add comment