This is a regression.
Tested in:
//UE5/Release-5.0 CL 20979098 - Crash did not occur.
Crash occurs when disabling Show > Static Mesh in the Viewport while using Vulkan.
Expected Results:
The Static Meshes in the scene are hidden.
Actual Results:
The Editor crashes with an assertion
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: 1143] DescriptorType mismatch at index 1: called WriteBuffer<VK_DESCRIPTOR_TYPE_STORAGE_BUFFER> and was expecting VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER. libUnrealEditor-VulkanRHI!7fd5d4033000 + 1bb4dc libUnrealEditor-VulkanRHI!7fd5d4033000 + 18493e libUnrealEditor-RHI!FRHICommandSetShaderResourceViewParameter<FRHIComputeShader>::Execute(FRHICommandListBase&) [RHICommandListCommandExecutes.inl:188] libUnrealEditor-Engine!FRHICommand<FRHICommandSetShaderResourceViewParameter<FRHIComputeShader>, FRHICommandSetShaderResourceViewParameterString>::ExecuteAndDestruct(FRHICommandListBase&, FRHICommandListDebugContext&) [RHICommandList.h:848] libUnrealEditor-RHI!FRHICommandListBase::Execute(TRHIPipelineArray<IRHIComputeContext*>&) [RHICommandList.cpp:427] libUnrealEditor-RHI!TRHILambdaCommand<FRHICommandListImmediate, FRHICommandListImmediate::QueueAsyncCommandListSubmit(TArrayView<FRHICommandListImmediate::FQueuedCommandList, int>, FRHICommandListImmediate::ETranslatePriority, int) [RHICommandList.h:413] libUnrealEditor-RHI!FRHICommandListBase::Execute(TRHIPipelineArray<IRHIComputeContext*>&) [RHICommandList.cpp:427] libUnrealEditor-RHI!UE::Core::Private::Function::TFunctionRefCaller<FRHICommandListImmediate::ExecuteAndReset() [Function.h:474] libUnrealEditor-Core!TGraphTask<TFunctionGraphTaskImpl<void () [TaskGraphInterfaces.h:1349] libUnrealEditor-Core!FNamedTaskThread::ProcessTasksNamedThread(int, bool) [TaskGraph.cpp:760] libUnrealEditor-Core!FNamedTaskThread::ProcessTasksUntilQuit(int) [TaskGraph.cpp:649] libUnrealEditor-Core!FTaskGraphCompatibilityImplementation::ProcessThreadUntilRequestReturn(ENamedThreads::Type) [TaskGraph.cpp:2150] libUnrealEditor-RenderCore!7fd76207d000 + 2d0d43 libUnrealEditor-Core!FRunnableThreadPThread::Run() [PThreadRunnableThread.cpp:25] libUnrealEditor-Core!FRunnableThreadPThread::_ThreadProc(void*) [PThreadRunnableThread.h:186] libpthread.so!7fd76969b000 + 8609 libc.so!7fd75dbde000 + 11f133
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-167864 in the post.
1 |
Component | UE - Rendering Architecture - RHI |
---|---|
Affects Versions | 5.1 |
Target Fix | 5.1 |
Created | Oct 20, 2022 |
---|---|
Resolved | Oct 24, 2022 |
Updated | Nov 27, 2022 |