Search Issue Tracker
Fixed
Fixed in 6000.0.61f1, 6000.2.9f1, 6000.3.0b7, 6000.4.0a2
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
- “FocusController has unprocessed focus events.” warnings are thrown after adding iOS, tvOS or visionOS Build Profiles
- Holes and different colors appear on default Tree Materials after applying them to the Tree GameObject and undoing changes
- Error indicating that the Text Asset Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
- Documentation installation shows "Install failed: Validation Failed" when installing Android Build Support module
- Error indicating that the Package Manifest Importer hasn't been disposed properly is logged when switching Importer Type in a Focused Inspector
Add comment