Description

No comments from users in crashgroup:

 614       
  615       	/**
  616       	 * Finds an element with the given key in the set.
  617       	 * @param Key - The key to search for.
  618       	 * @return The id of the set element matching the given key, or the NULL id if none matches.
  619       	 */
  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       	}
  637       
  638       	/**
  639       	 * Finds an element with the given key in the set.
  640       	 * @param Key - The key to search for.
  641       	 * @return A pointer to an element with the given key.  If no element in the set has the given key, this will return NULL.
  642       	 */
  643       	FORCEINLINE ElementType* Find(KeyInitType Key)
Steps to Reproduce

No known steps to reproduce

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

UE4Editor_Renderer!TSet<TTuple<UReflectionCaptureComponent const * __ptr64,FCaptureComponentSceneState>,TDefaultMapHashableKeyFuncs<UReflectionCapt set.h:629 
UE4Editor_Renderer!UploadReflectionCapture_RenderingThread() reflectionenvironmentcapture.cpp:1151 
UE4Editor_Renderer!<lambda_41440b68a030aee1757f70e830f1e9cd>::operator() reflectionenvironmentcapture.cpp:1415 
UE4Editor_Renderer!TGraphTask<TEnqueueUniqueRenderCommandType<`FScene::CaptureOrUploadReflectionCapture'::`8'::UploadCaptureCommandName,<lambda_414 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-57435 in the post.

1
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.19
Target Fix4.20
Fix Commit4058928
Main Commit4209927
CreatedApr 6, 2018
ResolvedJun 20, 2018
UpdatedAug 16, 2018