Hi, I keep getting this error when I play in editor. Anyone know what might be going on? Thanks.
Assertion failed: WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC [File:D:\build\++UE5\Sync\Engine\Source\Runtime\VulkanRHI\Private\VulkanDescriptorSets.h] [Line: 1143] DescriptorType mismatch at index 1: called WriteBuffer<7> and was expecting 4.
UnrealEditor_VulkanRHI!FVulkanCommonPipelineDescriptorState::SetStorageBuffer() [D:\build\++UE5\Sync\Engine\Source\Runtime\VulkanRHI\Private\VulkanPipelineState.h:65]
UnrealEditor_Renderer!FRHICommand<FRHICommandSetShaderResourceViewParameter<FRHIComputeShader>,FRHICommandSetShaderResourceViewParameterString>::ExecuteAndDestruct() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHICommandList.h:768]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:498]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteInner() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:804]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteList() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:828]
UnrealEditor_RHI!FRHICommand<FRHICommandWaitForAndSubmitRTSubList,FRHICommandWaitForAndSubmitRTSubListString1627>::ExecuteAndDestruct() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Public\RHICommandList.h:768]
UnrealEditor_RHI!FRHICommandListExecutor::ExecuteInner_DoExecute() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:498]
UnrealEditor_RHI!FExecuteRHIThreadTask::DoTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\RHI\Private\RHICommandList.cpp:560]
UnrealEditor_RHI!TGraphTask<FExecuteRHIThreadTask>::ExecuteTask() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Public\Async\TaskGraphInterfaces.h:975]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksNamedThread() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:753]
UnrealEditor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:642]
UnrealEditor_Core!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Async\TaskGraph.cpp:2115]
UnrealEditor_RenderCore!FRHIThread::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\RenderCore\Private\RenderingThread.cpp:325]
UnrealEditor_Core!FRunnableThreadWin::Run() [D:\build\++UE5\Sync\Engine\Source\Runtime\Core\Private\Windows\WindowsRunnableThread.cpp:146]
2 Likes
iHad169
(iHad169)
2
ME TOO
I UE5.3.2
LoginId:1441d8c1911a41a19a94183780f19bd1-000003e8
EpicAccountId:
Assertion failed: WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER || WriteDescriptors[DescriptorIndex].descriptorType == VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC [File:Runtime/VulkanRHI/Private/VulkanDescriptorSets.h] [Line: 1009] DescriptorType mismatch at index 8: called WriteBuffer<VK_DESCRIPTOR_TYPE_STORAGE_BUFFER> and was expecting VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER.
libUnrealEditor-VulkanRHI.so!FVulkanCommonPipelineDescriptorState::SetUAV(FVulkanCmdBuffer*, bool, unsigned char, unsigned int, FVulkanUnorderedAccessView*) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/VulkanRHI/Private/VulkanPipelineState.cpp:798]
libUnrealEditor-VulkanRHI.so!void UE::RHICore::RHISetShaderParametersShared<FVulkanCommandListContext, FRHIComputeShader>(FVulkanCommandListContext&, FRHIComputeShader*, TArrayView<unsigned char const, int>, TArrayView<FRHIShaderParameter const, int>, TArrayView<FRHIShaderParameterResource const, int>, TArrayView<FRHIShaderParameterResource const, int>, bool) [/home/localhost/UnrealEngine/Engine/Source/Runtime/RHICore/Internal/RHIShaderParametersShared.h:84]
libUnrealEditor-VulkanRHI.so!FVulkanCommandListContext::RHISetShaderParameters(FRHIComputeShader*, TArrayView<unsigned char const, int>, TArrayView<FRHIShaderParameter const, int>, TArrayView<FRHIShaderParameterResource const, int>, TArrayView<FRHIShaderParameterResource const, int>) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/VulkanRHI/Private/VulkanCommands.cpp:427]
libUnrealEditor-RHI.so!FRHICommandSetShaderParameters<FRHIComputeShader>::Execute(FRHICommandListBase&) [/home/localhost/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandListCommandExecutes.inl:128]
libUnrealEditor-Engine.so!FRHICommand<FRHICommandSetShaderParameters<FRHIComputeShader>, FRHICommandSetShaderParametersString1416>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/localhost/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:1245]
libUnrealEditor-RHI.so!FRHICommandListBase::Execute(TRHIPipelineArray<IRHIComputeContext*>&, FRHICommandListBase::FPersistentState::FGPUStats*) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:461]
libUnrealEditor-RHI.so!TRHILambdaCommand<FRHICommandListImmediate, FRHICommandListImmediate::QueueAsyncCommandListSubmit(TArrayView<FRHICommandListImmediate::FQueuedCommandList, int>, FRHICommandListImmediate::ETranslatePriority, int)::$_4>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [/home/localhost/UnrealEngine/Engine/Source/Runtime/RHI/Public/RHICommandList.h:471]
libUnrealEditor-RHI.so!FRHICommandListBase::Execute(TRHIPipelineArray<IRHIComputeContext*>&, FRHICommandListBase::FPersistentState::FGPUStats*) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/RHI/Private/RHICommandList.cpp:461]
libUnrealEditor-RHI.so!UE::Core::Private::Function::TFunctionRefCaller<FRHICommandListImmediate::ExecuteAndReset(bool)::$_0, void ()>::Call(void*) [/home/localhost/UnrealEngine/Engine/Source/Runtime/Core/Public/Templates/Function.h:479]
libUnrealEditor-Core.so!TGraphTask<TFunctionGraphTaskImpl<void (), (ESubsequentsMode::Type)0> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type, bool) [/home/localhost/UnrealEngine/Engine/Source/Runtime/Core/Public/Async/TaskGraphInterfaces.h:1265]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:758]
libUnrealEditor-Core.so!FNamedTaskThread::ProcessTasksUntilQuit(int) [/home/localhost/UnrealEngine/Engine/Source/./Runtime/Core/Private/Async/TaskGraph.cpp:648]
libUnrealEditor-RenderCore.so!FRHIThread::Run() [/home/localhost/UnrealEngine/Engine/Source/./Runtime/RenderCore/Private/RenderingThread.cpp:328]
libUnrealEditor-Core.so!FRunnableThreadPThread::Run() [/home/localhost/UnrealEngine/Engine/Source/./Runtime/Core/Private/HAL/PThreadRunnableThread.cpp:25]
libUnrealEditor-Core.so!FRunnableThreadPThread::_ThreadProc(void*) [/home/localhost/UnrealEngine/Engine/Source/Runtime/Core/Private/HAL/PThreadRunnableThread.h:187]
libc.so.6!UnknownFunction(0x8c9ea)
libc.so.6!UnknownFunction(0x1107cb)
Same crash for me. Still no solution for this? I have it for a CS that’s fairly simple, seems like a UE bug (UE4.27 for me).