Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Compute Buffer Error

Discussion in '2018.3 Beta' started by Onat-H, Sep 12, 2018.

  1. Onat-H

    Onat-H

    Joined:
    Mar 11, 2015
    Posts:
    195
    Hey guys, now after updating to 2018.3b01, i get the following error spammed:
    ArgumentException: ComputeBuffer.SetData() : Accessing 15600 bytes at offset 0 for Compute Buffer of size 15360 bytes is not possible.
    (And my assets are not displayed, similar to not having the pieline asset in the project.)

    Oh and I'm using the HDPipeline (3.3.0)

    Do you have any idea?

    Here is one of the full error descriptions:

    ArgumentException: ComputeBuffer.SetData() : Accessing 15600 bytes at offset 0 for Compute Buffer of size 15360 bytes is not possible.
    UnityEngine.ComputeBuffer.SetData (System.Array data) (at C:/buildslave/unity/build/Runtime/Export/ComputeShader.bindings.cs:124)
    UnityEngine.Experimental.Rendering.HDPipeline.ShadowSetup+<>c.<.ctor>b__7_0 (UnityEngine.Experimental.Rendering.ShadowContext sc) (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/Lighting/LightLoop/LightLoop.cs:105)
    UnityEngine.Experimental.Rendering.ShadowContext.SyncData () (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/CoreRP/Shadow/ShadowBase.cs:630)
    UnityEngine.Experimental.Rendering.ShadowManager.SyncData () (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/CoreRP/Shadow/Shadow.cs:1637)
    UnityEngine.Experimental.Rendering.HDPipeline.LightLoop.PushGlobalParams (UnityEngine.Experimental.Rendering.HDPipeline.HDCamera hdCamera, UnityEngine.Rendering.CommandBuffer cmd) (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/Lighting/LightLoop/LightLoop.cs:2402)
    UnityEngine.Experimental.Rendering.HDPipeline.LightLoop.BuildGPULightLists (UnityEngine.Experimental.Rendering.HDPipeline.HDCamera hdCamera, UnityEngine.Rendering.CommandBuffer cmd, UnityEngine.Rendering.RenderTargetIdentifier cameraDepthBufferRT, UnityEngine.Rendering.RenderTargetIdentifier stencilTextureRT, System.Boolean skyEnabled) (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/Lighting/LightLoop/LightLoop.cs:2350)
    UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.Render (UnityEngine.Experimental.Rendering.ScriptableRenderContext renderContext, UnityEngine.Camera[] cameras) (at C:/Users/Onat Hekimoglu/Documents/Slow Bros/SRP/ScriptableRenderPipeline/com.unity.render-pipelines.high-definition/HDRP/RenderPipeline/HDRenderPipeline.cs:1145)
    UnityEngine.Experimental.Rendering.RenderPipelineManager.DoRenderLoop_Internal (UnityEngine.Experimental.Rendering.IRenderPipelineAsset pipe, UnityEngine.Camera[] cameras, System.IntPtr loopPtr) (at C:/buildslave/unity/build/Runtime/Export/RenderPipeline/RenderPipelineManager.cs:33)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
  2. LeonhardP

    LeonhardP

    Unity Technologies

    Joined:
    Jul 4, 2016
    Posts:
    3,111
    Hi Onat,
    Could you please submit a bug report with a (minimal) reproduction project for this issue and reply in here with the Issue ID?