Search Issue Tracker

In Progress

Fix In Review for 6000.5.X

Under Consideration for 6000.3.X, 6000.4.X

In Progress in 6000.5.X

Votes

0

Found in

6000.2.10f1

6000.3.0b8

6000.4.0a3

6000.5.0a1

Issue ID

UUM-125539

Regression

Yes

ArgumentException: Context does not exist is thrown when an attribute is connected to Strip Index

Visual Effects

-

How to reproduce:

  1. Import the attached VFX to any project
  2. Open VFX and make sure that vfx graph window is visible (if during play mode window Game View gets focused, switch back to VFX window)
  3. Enter Play Mode
  4. Exit Play Mode

Expected result: No errors thrown

Actual result: Errors thrown

 

Note:

  • Funtionality does not seem to be affected
  • Can be reproduced with domain reload as well

Reproducible with: 6000.0.50f1, 6000.4.0a2

Not reproducible with: 6000.0.49f1

 

ArgumentException: Context does not exist
UnityEditor.VFX.VFXData+<GetAttributesForContext>d__42.MoveNext () (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/Data/VFXData.cs:248)
System.Linq.Enumerable.Any[TSource] (System.Collections.Generic.IEnumerable`1[T] source, System.Func`2[T,TResult] predicate) (at <35debb714aea4cd9b0221bb8b3f5103e>:0)
UnityEditor.VFX.VFXBasicInitialize.GenerateErrors (UnityEditor.VFX.VFXErrorReporter report) (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/Models/Contexts/Implementations/VFXBasicInitialize.cs:137)
UnityEditor.VFX.VFXErrorReporter.GenerateErrors () (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/Models/VFXErrorManager.cs:156)
UnityEditor.VFX.VFXErrorManager.GenerateErrors () (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/Models/VFXErrorManager.cs:48)
UnityEditor.VFX.VFXGraph.RecompileIfNeeded (System.Boolean preventRecompilation, System.Boolean preventDependencyRecompilation) (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/Models/VFXGraph.cs:1684)
UnityEditor.VFX.UI.VFXViewWindow.Update () (at ./Library/PackageCache/com.unity.visualeffectgraph@c8807469794f/Editor/GraphView/VFXViewWindow.cs:385)
UnityEditor.HostView.SendUpdate () (at /Users/bokken/build/output/unity/unity/Editor/Mono/HostView.cs:708)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:401)

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.