Community Tutorial: Simple compute shader with CPU readback

Thank you for the reply, i tried your settings with Material Evaluation plugin, i still get the same error “The compute shader has a problem” and no error in the output log, but when i try it a second time Unreal crashes and i get this error:

LoginId:653723684a9aff1b98870b9be38a30e5
EpicAccountId:

Fatal error: [File:D:\build\++UE5\Sync\Engine\Source\Runtime\D3D12RHI\Private\D3D12Commands.cpp] [Line: 1663] Shader expected a uniform buffer at slot 0 but got null instead (Shader='' UB='View'). Rendering code needs to set a valid uniform buffer for this slot.

UnrealEditor_D3D12RHI
UnrealEditor_D3D12RHI
UnrealEditor_ComputeShader!FRHICommand<FRHICommandDispatchComputeShader,FRHICommandDispatchComputeShaderString>::ExecuteAndDestruct() [F:\UNREAL ENGINE\UE_5.1\Engine\Source\Runtime\RHI\Public\RHICommandList.h:855]
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_RHI
UnrealEditor_Core
UnrealEditor_Core
UnrealEditor_RenderCore
UnrealEditor_Core
UnrealEditor_Core
kernel32
ntdll

and for the Material to Render Target Plugin, same error “The compute shader has a problem” but no crash, and no error in the output log, take your time to find a fix, thank you again.



1st is Material evaluation, 2nd is Material to render target.