Unity VFX graph HD Render Pipeline ( Unity 2019.3.0a4 )

0

I am not sure what I should do to make it work.

  1. I have installed Fresh Unity ( Unity 2019.3.0a4 ) on my Windows 10 Machine.
  2. I opened the Package Manager and installed an update for HD render pipeline
  3. I installed an up to date version of Visual Effect Graph ( Version 6.7.1 ).

When I try to add a visual effect graph into scene I get the following errors

ERROR 1

MissingReferenceException: The object of type 'ComputeShader' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.RenderDistortion (UnityEngine.Experimental.Rendering.HDPipeline.HDCamera hdCamera, UnityEngine.Rendering.CommandBuffer cmd) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.5.2-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:2377)
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.ExecuteRenderRequest (UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline+RenderRequest renderRequest, UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Rendering.CommandBuffer cmd) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.5.2-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:1862)
UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.Render (UnityEngine.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at Library/PackageCache/com.unity.render-pipelines.high-definition@6.5.2-preview/Runtime/RenderPipeline/HDRenderPipeline.cs:1362)
UnityEngine.Rendering.RenderPipeline.InternalRender (UnityEngine.Rendering.ScriptableRenderContext context, UnityEngine.Camera[] cameras) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipeline.cs:72)
UnityEngine.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Rendering.RenderPipelineAsset pipe, UnityEngine.Camera[] cameras, System.IntPtr loopPtr, Unity.Collections.LowLevel.Unsafe.AtomicSafetyHandle safety) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:67)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

ERROR 2

Exception while compiling expression graph: System.IO.DirectoryNotFoundException: Could not find a part of the path "c:\templates\vfxparticleplanarprimitive.template".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
  at System.IO.File.ReadAllText (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at UnityEditor.VFX.VFXCodeGenerator.GetFlattenedTemplateContent (System.String path, System.Collections.Generic.List`1[T] includes, System.Collections.Generic.IEnumerable`1[T] defines) [0x0008d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:275 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, System.String templatePath, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x0000e] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:355 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x00012] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:188 
  at UnityEditor.VFX.VFXGraphCompiledData.GenerateShaders (System.Collections.Generic.List`1[T] outGeneratedCodeData, UnityEditor.VFX.VFXExpressionGraph graph, System.Collections.Generic.IEnumerable`1[T] contexts, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, UnityEditor.VFX.VFXCompilationMode compilationMode) [0x00067] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:457 
  at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x0046d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:684 :   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
  at System.IO.File.ReadAllText (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at UnityEditor.VFX.VFXCodeGenerator.GetFlattenedTemplateContent (System.String path, System.Collections.Generic.List`1[T] includes, System.Collections.Generic.IEnumerable`1[T] defines) [0x0008d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:275 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, System.String templatePath, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x0000e] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:355 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x00012] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:188 
  at UnityEditor.VFX.VFXGraphCompiledData.GenerateShaders (System.Collections.Generic.List`1[T] outGeneratedCodeData, UnityEditor.VFX.VFXExpressionGraph graph, System.Collections.Generic.IEnumerable`1[T] contexts, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, UnityEditor.VFX.VFXCompilationMode compilationMode) [0x00067] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:457 
  at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x0046d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:684 
UnityEditor.RetainedMode:UpdateSchedulers()

ERROR 3

Exception while compiling expression graph: System.IO.DirectoryNotFoundException: Could not find a part of the path "c:\templates\vfxparticleplanarprimitive.template".
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
  at System.IO.File.ReadAllText (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at UnityEditor.VFX.VFXCodeGenerator.GetFlattenedTemplateContent (System.String path, System.Collections.Generic.List`1[T] includes, System.Collections.Generic.IEnumerable`1[T] defines) [0x0008d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:275 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, System.String templatePath, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x0000e] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:355 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x00012] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:188 
  at UnityEditor.VFX.VFXGraphCompiledData.GenerateShaders (System.Collections.Generic.List`1[T] outGeneratedCodeData, UnityEditor.VFX.VFXExpressionGraph graph, System.Collections.Generic.IEnumerable`1[T] contexts, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, UnityEditor.VFX.VFXCompilationMode compilationMode) [0x00067] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:457 
  at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x0046d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:684 :   at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) [0x00164] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) [0x00067] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) [0x0000d] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at System.IO.StreamReader..ctor (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
  at System.IO.File.ReadAllText (System.String path) [0x00000] in <23c160f925be47d7a4fd083a3a62c920>:0 
  at UnityEditor.VFX.VFXCodeGenerator.GetFlattenedTemplateContent (System.String path, System.Collections.Generic.List`1[T] includes, System.Collections.Generic.IEnumerable`1[T] defines) [0x0008d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:275 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, System.String templatePath, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x0000e] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:355 
  at UnityEditor.VFX.VFXCodeGenerator.Build (UnityEditor.VFX.VFXContext context, UnityEditor.VFX.VFXCompilationMode compilationMode, UnityEditor.VFX.VFXContextCompiledData contextData) [0x00012] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXCodeGenerator.cs:188 
  at UnityEditor.VFX.VFXGraphCompiledData.GenerateShaders (System.Collections.Generic.List`1[T] outGeneratedCodeData, UnityEditor.VFX.VFXExpressionGraph graph, System.Collections.Generic.IEnumerable`1[T] contexts, System.Collections.Generic.Dictionary`2[TKey,TValue] contextToCompiledData, UnityEditor.VFX.VFXCompilationMode compilationMode) [0x00067] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:457 
  at UnityEditor.VFX.VFXGraphCompiledData.Compile (UnityEditor.VFX.VFXCompilationMode compilationMode, System.Boolean forceShaderValidation) [0x0046d] in C:\Users\cosmos\HD_RP_Test\Library\PackageCache\com.unity.visualeffectgraph@6.7.1-preview\Editor\Compiler\VFXGraphCompiledData.cs:684 
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

is there is anyone who could help me, i would be happy.

CNullVoid

Posted 2019-06-07T07:48:31.653

Reputation: 1

No answers