Hey,
Getting this error+ a cascaded flow of random issues after it. Any clue what might cause this? Trying to run this on RTX 2080 laptop + Unity 2021.3.10f1.
There are more uavs (16) than the maximum supported (8) in ComputeShader 'RayTracingShader' kernel 'kernel_shade'.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
RayTracingMaster:Render (UnityEngine.RenderTexture) (at Assets/Resources/RayTracingMaster.cs:803)
RayTracingMaster:OnRenderImage (UnityEngine.RenderTexture,UnityEngine.RenderTexture) (at Assets/Resources/RayTracingMaster.cs:908)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
This then turns into a bunch of issues, such as
ArgumentException: SetData(): Accessing 1980 bytes at offset 0 for Buffer of size 1800 bytes is not possible.
UnityEngine.ComputeBuffer.SetData[T] (System.Collections.Generic.List`1[T] data) (at <88d854ea2c91426ebc464f01cd71aa85>:0)
RayTracingMaster.RebuildMeshObjectBuffers () (at Assets/Resources/RayTracingMaster.cs:307)
RayTracingMaster.OnRenderImage (UnityEngine.RenderTexture source, UnityEngine.RenderTexture destination) (at Assets/Resources/RayTracingMaster.cs:905)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
Is this somehow related to some GPU's not supporting 16 UAV's or something?
br,
Sami