Hello. New to VFX. Initial system works. Secondary system does not.
Working on spawning child particles using trigger on die > GPU event, etc.
However, Whenever I connect the 2nd quad output, it stops the entire particle system from working and prints an error in the console.
This is a single console error, printed repeatedly whenever I make any changes to the particle system while the second quad output is linked up.
Exception while compiling expression graph: System.NullReferenceException: Object reference not set to an instance of an object
at UnityEditor.VFX.VFXData.ProcessDependencies () [0x00021] in D:\PROJECTS\GAME Projects_UNITY ENGINE PROJECTS\PROJECTS\VFX 2019\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Data\VFXData.cs:365
at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x00239] in D:\PROJECTS\GAME Projects_UNITY ENGINE PROJECTS\PROJECTS\VFX 2019\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:643 : at UnityEditor.VFX.VFXData.ProcessDependencies () [0x00021] in D:\PROJECTS\GAME Projects_UNITY ENGINE PROJECTS\PROJECTS\VFX 2019\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Data\VFXData.cs:365
at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x00239] in D:\PROJECTS\GAME Projects_UNITY ENGINE PROJECTS\PROJECTS\VFX 2019\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:643
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
This is the generic setup
What I am trying to figure out is the cause of the error and a fix for it so I can use these GPU events effectively.
Side-note: Surprisingly, there isn’t much on the forums about gpu events or this particular issue. The closest thing is this link, but it doesn’t cover or touch my issue.