Steps to reproduce:
- Import the attached VFX to the project and make sure that VFX is not open
- Drag VFX to the scene
- Close the project and reopen it
- Double click on that warning in the console
Actual results: Error is thrown
Reproducible with versions: 6000.2.0a5, 6000.0.33f1
Not reproducible with versions: 2022.3.59f1 (couldn't get a warning thrown to the console)
Can’t test with versions: n/a
Tested on (OS): macOS, Windows
Notes:
- Severity and prevalence fields might be incorrect. This error might reveal a bigger issue after investigation.
- Error that needs to be investigated:
- Invalid shader source index
UnityEditor.VFX.VisualEffectResource:ShowGeneratedShaderFile (int,int)
VisualEffectAssetEditor:OnOpenVFX (int,int) (at /Users/vita.skruibyte/Documents/unity/packages/com.unity.visualeffectgraph/Editor/Inspector/VFXAssetEditor.cs:153)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)