Description

No user comments in crash group

  620       	FSetElementId FindId(KeyInitType Key) const
  621       	{
  622       		if (Elements.Num())
  623       		{
  624       			for(FSetElementId ElementId = GetTypedHash(KeyFuncs::GetKeyHash(Key));
  625       				ElementId.IsValidId();
  626       				ElementId = Elements[ElementId].HashNextId)
  627       			{
  628 ***** 				if(KeyFuncs::Matches(KeyFuncs::GetSetKey(Elements[ElementId].Value),Key))
  629       				{
  630       					// Return the first match, regardless of whether the set has multiple matches for the key or not.
  631       					return ElementId;
  632       				}
  633       			}
  634       		}
  635       		return FSetElementId();
  636       	}
Steps to Reproduce

No known steps to reproduce

Callstack
Access violation - code c0000005 (first/second chance not available)

UE4Editor_RHI!TSet<TTuple<FBoundShaderStateKey,FCachedBoundShaderStateLink * __ptr64>,TDefaultMapHashableKeyFuncs<FBoundShaderStateKey,FCachedBoundShaderStateLink * __ptr64,0>,FDefaultSetAllocator>::FindId() [set.h:629]
UE4Editor_RHI!GetCachedBoundShaderState() [boundshaderstatecache.cpp:88]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHICreateBoundShaderState() [d3d11shaders.cpp:317]
UE4Editor_D3D11RHI!RHICreateBoundShaderState() [dynamicrhi.h:964]
UE4Editor_D3D11RHI!IRHICommandContext::RHISetGraphicsPipelineState() [rhicontext.h:338]
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHISetGraphicsPipelineState() [d3d11rhiprivate.h:477]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderingPolicy::DrawElements() [slaterhirenderingpolicy.cpp:752]
UE4Editor_SlateRHIRenderer!FSlateRHIRenderer::DrawWindow_RenderThread() [slaterhirenderer.cpp:770]
UE4Editor_SlateRHIRenderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FSlateRHIRenderer::DrawWindows_Private'::`29'::SlateDrawWindowsCommandName,<lambda_43e86ee7c51f39979e9a39d40b280024> > >::ExecuteTask() [taskgraphinterfaces.h:829]
UE4Editor_Core!FNamedTaskThread::ProcessTasksNamedThread() [taskgraph.cpp:665]
UE4Editor_Core!FNamedTaskThread::ProcessTasksUntilQuit() [taskgraph.cpp:574]
UE4Editor_RenderCore!RenderingThreadMain() [renderingthread.cpp:331]
UE4Editor_RenderCore!FRenderingThread::Run() [renderingthread.cpp:465]
UE4Editor_Core!FRunnableThreadWin::Run() [windowsrunnablethread.cpp:76]

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-56443 in the post.

0
Login to Vote

Won't Fix
ComponentUE - Graphics Features
Affects Versions4.164.19
CreatedMar 23, 2018
ResolvedAug 18, 2021
UpdatedAug 18, 2021
View Jira Issue