Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Kernel 'main' not found

Discussion in '2018.1 Beta' started by georgeq, Apr 21, 2018.

  1. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    I'm trying to generate the PC player of my game, but I'm getting this two errors... I don't know, once per frame maybe?.. I haven't seen this on previous builds, the only difference with this one is that I changed the rendering path from deferred to forward.


    UnloadTime: 2.200034 ms
    Kernel 'main' not found
    UnityEngine.ComputeShader:FindKernel(String)
    UnityEngine.Rendering.PostProcessing.MultiScaleVO:pushDownsampleCommands(CommandBuffer, Camera, Nullable`1) (at C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:231)
    UnityEngine.Rendering.PostProcessing.MultiScaleVO:GenerateAOMap(CommandBuffer, Camera, RenderTargetIdentifier, Nullable`1, Boolean) (at C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:162)
    UnityEngine.Rendering.PostProcessing.MultiScaleVO:RenderAmbientOnly(PostProcessRenderContext) (at C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:468)
    UnityEngine.Rendering.PostProcessing.PostProcessLayer:BuildCommandBuffers() (at C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\PostProcessLayer.cs:352)
    UnityEngine.Rendering.PostProcessing.PostProcessLayer:OnPreCull() (at C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\PostProcessLayer.cs:292)

    [C:\buildslave\unity\build\Runtime/Shaders/ComputeShader.cpp line 311]
    (Filename: C:/ProgramData/Unity/cache/packages/packages.unity.com/com.unity.postprocessing@2.0.3-preview/PostProcessing/Runtime/Effects/MultiScaleVO.cs Line: 231)

    UnityException: FindKernel failed
    at (wrapper managed-to-native) UnityEngine.ComputeShader:FindKernel (string)
    at UnityEngine.Rendering.PostProcessing.MultiScaleVO.PushDownsampleCommands (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Camera camera, Nullable`1 depthMap) [0x00085] in C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:231
    at UnityEngine.Rendering.PostProcessing.MultiScaleVO.GenerateAOMap (UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Camera camera, RenderTargetIdentifier destination, Nullable`1 depthMap, Boolean invert) [0x00082] in C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:162
    at UnityEngine.Rendering.PostProcessing.MultiScaleVO.RenderAmbientOnly (UnityEngine.Rendering.PostProcessing.PostProcessRenderContext context) [0x0004a] in C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\Effects\MultiScaleVO.cs:468
    at UnityEngine.Rendering.PostProcessing.PostProcessLayer.BuildCommandBuffers () [0x0012c] in C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\PostProcessLayer.cs:352
    at UnityEngine.Rendering.PostProcessing.PostProcessLayer.OnPreCull () [0x00096] in C:\ProgramData\Unity\cache\packages\packages.unity.com\com.unity.postprocessing@2.0.3-preview\PostProcessing\Runtime\PostProcessLayer.cs:292
     
  2. kaychang

    kaychang

    Unity Technologies

    Joined:
    Jan 11, 2017
    Posts:
    7
    There were some bug fixes in our dev branch which was not present in 2017.4 branch.
    After grafting these bug fixes in the 2017.4 branch, the latest version of PostProcessingStack is running fine.
     
  3. georgeq

    georgeq

    Joined:
    Mar 5, 2014
    Posts:
    662
    Thanks for the reply, is good to know.