Download

Memory leak in rendering thread?

Stop Reason: : Thread ‘RenderThread 3’ (101010) Segmentation violation encountered at 0x000000004b53960c.
The instruction at 0x000000004b53960c referenced memory at 0x00000000003ffc00.
The memory could not be written.

Is RenderThread 3 the RHIRenderingThread?

This is the breakpoint, @ FPlatformMisc::MemoryBarrier(); in RenderResource.cpp



void FRenderResource::InitResource()
{
	check(IsInRenderingThread());
	if(!bInitialized)
	{
		ResourceLink = TLinkedList<FRenderResource*>(this);
		ResourceLink.LinkHead(GetResourceList());
		if(GIsRHIInitialized)
		{
			InitDynamicRHI();
			InitRHI();
		}
		FPlatformMisc::MemoryBarrier(); // there are some multithreaded reads of bInitialized
		bInitialized = true;
	}
}


We’re having the same issue here, did you solved it at last?