Search Issue Tracker
In Progress
Fix In Review for 2023.3.0b10
Votes
0
Found in
2023.3.0a7
2023.3.0b4
Issue ID
UUM-61929
Regression
Yes
[VFX] "NullReferenceException" errors are thrown when deleted Graph contains Attribute block in Update Particles block
How to reproduce:
1. Create a new Unity project using 3D (URP) or 3D (HDRP) Template
2. Make sure that project has Visual Effect Graph package installed
3. Create a new VFX Asset using Minimal System
4. Open VFX asset
5. In Update Particles block add/create Set Age Attribute
6. Select entire Graph and delete it
7. Observe the Console window
Expected result: no errors are thrown when entire Graph is deleted
Actual result: "NullReferenceException" errors are thrown when entire Graph is deleted
Reproducible with: 17.0.0 (2023.3.0a7), 17.0.2 (2023.3.0b4)
Not reproducible with: 17.0.0 (2023.3.0a6)
Note: not reproducible with other blocks like Collision, Force, FlipBook
Error:
{code:java}
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.VFX.ReadWritableAttributeProvider.GetAvailableString (UnityEditor.VFX.VFXModel model) (at ./Library/PackageCache/com.unity.visualeffectgraph/Editor/Models/Parameters/VFXAttributeParameter.cs:42)
UnityEditor.VFX.UI.StringPropertyRM+<>c__DisplayClass2_2.<FindStringProvider>b__1 () (at ./Library/PackageCache/com.unity.visualeffectgraph/Editor/GraphView/Views/Properties/StringPropertyRM.cs:84)
VFXSlotContainerEditor.DoInspectorGUI () (at ./Library/PackageCache/com.unity.visualeffectgraph/Editor/Inspector/VFXSlotContainerEditor.cs:59)
VFXSlotContainerEditor.OnInspectorGUI () (at ./Library/PackageCache/com.unity.visualeffectgraph/Editor/Inspector/VFXSlotContainerEditor.cs:315)
VFXBlockEditor.OnInspectorGUI () (at ./Library/PackageCache/com.unity.visualeffectgraph/Editor/Inspector/VFXBlockEditor.cs:23)
UnityEditor.UIElements.InspectorElement+<>c__DisplayClass74_0.<CreateInspectorElementUsingIMGUI>b__0 () (at /Users/bokken/build/output/unity/unity/Editor/Mono/UIElements/Inspector/InspectorElement.cs:729)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&) (at /Users/bokken/build/output/unity/unity/Modules/IMGUI/GUIUtility.cs:219)
{code}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment