Search Issue Tracker

Fixed

Unknown (hidden) 2021.3.X, 2022.1.X, 2022.2.X, 2023.1.X

Votes

0

Found in

2021.3.4f1

2022.1.4f1

2022.2.0a16

2023.1.0a1

Issue ID

UUM-6275

Regression

No

[VFX Graph] Errors are thrown when renamed graph is focused after exiting Play Mode

--

-

How to reproduce:
# Create a new VFX
2. Add Simple Particle system
3. Rename graph to 'p'
4. Enter Play Mode
5. Exit Play Mode
6. Focus graph named 'p'

 

Error messages:

{color:#de350b}NullReferenceException: Object reference not set to an instance of an object{color}
{color:#de350b}VisualEffectAssetEditor+<>c.<OnInspectorGUI>b__47_0 (UnityEditor.VFX.VFXBasicInitialize d) (at C:/Users/vita.skruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Inspector/VFXAssetEditor.cs:732){color}
{color:#de350b}System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <f261e5835f884dcba949d9fc74ced366>:0){color}
{color:#de350b}VisualEffectAssetEditor.OnInspectorGUI () (at C:/Users/vita.skruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Inspector/VFXAssetEditor.cs:731){color}
{color:#de350b}UnityEditor.UIElements.InspectorElement+<>c__DisplayClass71_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <82311000d4eb48fca3bd5778216fbe40>:0){color}
{color:#de350b}UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&){color}

  1. Resolution Note:

    Fixed by another internal issue: UUM-529: Silent crash when leaving play mode if a template system has been added

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.