No user comments in crash group
208 check(Layout.ResourceOffsets.Num() == NumResources); 209 210 for (int32 i = 0; i < NumResources; ++i) 211 { 212 FRHIResource* Resource = *(FRHIResource**)((uint8*)Contents + Layout.ResourceOffsets[i]); 213 214 // Allow null SRV's in uniform buffers for feature levels that don't support SRV's in shaders 215 if (!(GMaxRHIFeatureLevel <= ERHIFeatureLevel::ES3_1 && Layout.Resources[i] == UBMT_SRV)) 216 { 217 ***** checkf(Resource, TEXT("Invalid resource entry creating uniform buffer, %s.Resources[%u], ResourceType 0x%x."), *Layout.GetDebugName().ToString(), i, Layout.Resources[i]); 218 } 219 NewUniformBuffer->ResourceTable[i] = Resource; 220 } 221 }
No known steps to reproduce
Assertion failed: Resource [File:D:\Build\++UE4+Release-4.20+Compile\Sync\Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11UniformBuffer.cpp] [Line: 218] Invalid resource entry creating uniform buffer, FLocalVertexFactoryUniformShaderParameters.Resources[0], ResourceType 0x6. UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateUniformBuffer() [d3d11uniformbuffer.cpp:218] UE4Editor_Engine!CreateLocalVFUniformBuffer() [localvertexfactory.cpp:74] UE4Editor_Engine!FLocalVertexFactory::InitRHI() [localvertexfactory.cpp:257] UE4Editor_RenderCore!FRenderResource::InitResource() [renderresource.cpp:41] UE4Editor_Renderer!FViewInfo::InitRHIResources() [scenerendering.cpp:1388] UE4Editor_Renderer!FDeferredShadingSceneRenderer::InitViews() [scenevisibility.cpp:3364] UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() [deferredshadingrenderer.cpp:563] UE4Editor_Renderer!RenderViewFamily_RenderThread() [scenerendering.cpp:2854] UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`33'::EURCMacro_FDrawSceneCommand>::ExecuteTask() [taskgraphinterfaces.h:829] UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:665] UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:574] UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:333] UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:467] UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-60339 in the post.
31 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.20 |
Target Fix | 4.22.1 |
Created | Jun 12, 2018 |
---|---|
Resolved | Apr 22, 2019 |
Updated | Jul 18, 2019 |