Description

A user has reported on salesforce that their RVT material is returning black. After following the publicly available Epic Quick Start guide online I encountered the same issue.

The ticket was reported on Mac. The black texture was reproduced on both Mac and Windows, however the crash was unable to be reproduced by UEQA.

I was unable to track the logs on crash reporter, but provided the callstack.

I've also attached an image of my workflow.

Steps to Reproduce
  1. Create an RVT asset and volume
  2. Follow RVT QuickStart guide (UE4 documentation) up to end of step 4.

Expected Result: RVT renders as intended.

Actual Result: 

1. Instead of correct rendering with RVT, rendering is black
2. When pressing apply or saving, engine crashes
3. Even testing other tutorials to generate RVT, the RVTexture asset is still black.

Callstack
Caught signal 
 __pthread_kill Address = 0x7fff6735133a (filename not found) [in libsystem_kernel.dylib]
abort Address = 0x7fff672d8808 (filename not found) [in libsystem_c.dylib]
err Address = 0x7fff672d7ac6 (filename not found) [in libsystem_c.dylib]
mtlpp::Texture::GetPixelFormat() const (.cold.1) Address = 0x14778a67f (filename not found) [in UE4Editor-MetalRHI.dylib]
mtlpp::Texture::GetPixelFormat() const Address = 0x1476144ac (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalStateCache::SetTessellationPipelineState(FMetalCommandEncoder&, FMetalCommandEncoder*) Address = 0x1476fc3ad (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRenderPass::PrepareToSeparateTessellate(unsigned int) Address = 0x1476ee058 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRenderPass::DrawPatches(unsigned int, FMetalBuffer const&, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int) Address = 0x1476e7c0e (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRenderPass::DrawIndexedPrimitive(FMetalBuffer const&, unsigned int, unsigned int, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) Address = 0x1476eadd6 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMetalRHICommandContext::RHIDrawIndexedPrimitive(FRHIIndexBuffer*, int, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int) Address = 0x147663902 (filename not found) [in UE4Editor-MetalRHI.dylib]
FMeshDrawCommand::SubmitDraw(FMeshDrawCommand const&, Experimental::TRobinHoodHashSet<FGraphicsMinimalPipelineStateInitializer, DefaultKeyFuncs<FGraphicsMinimalPipelineStateInitializer, false>, TSizedDefaultAllocator<32> > const&, FRHIVertexBuffer*, int, unsigned int, FRHICommandList&, FMeshDrawCommandStateCache&) Address = 0x1262af2b4 (filename not found) [in UE4Editor-Renderer.dylib]
SubmitMeshDrawCommandsRange(TArray<FVisibleMeshDrawCommand, TMemStackAllocator<0u> > const&, Experimental::TRobinHoodHashSet<FGraphicsMinimalPipelineStateInitializer, DefaultKeyFuncs<FGraphicsMinimalPipelineStateInitializer, false>, TSizedDefaultAllocator<32> > const&, FRHIVertexBuffer*, int, bool, int, int, unsigned int, FRHICommandList&) Address = 0x1262a930c (filename not found) [in UE4Editor-Renderer.dylib]
DrawDynamicMeshPassPrivate(FSceneView const&, FRHICommandList&, TArray<FVisibleMeshDrawCommand, TMemStackAllocator<0u> >&, FDynamicMeshDrawCommandStorage&, Experimental::TRobinHoodHashSet<FGraphicsMinimalPipelineStateInitializer, DefaultKeyFuncs<FGraphicsMinimalPipelineStateInitializer, false>, TSizedDefaultAllocator<32> >&, bool&, unsigned int) Address = 0x1262b0221 (filename not found) [in UE4Editor-Renderer.dylib]
FRendererModule::DrawTileMesh(FRHICommandListImmediate&, FMeshPassProcessorRenderState&, FSceneView const&, FMeshBatch&, bool, FHitProxyId const&, bool) Address = 0x1265c1328 (filename not found) [in UE4Editor-Renderer.dylib]
FMeshMaterialRenderItem2::RenderMaterial(FRHICommandListImmediate&, FMeshPassProcessorRenderState&, FSceneView const&, FMeshMaterialRenderItem2::FRenderData&) Address = 0x12822dbe8 (filename not found) [in UE4Editor-MaterialUtilities.dylib]
UE4Function_Private::TFunctionRefCaller<FMeshMaterialRenderItem2::Render_GameThread(FCanvas const*, FRenderThreadScope&)::'lambda'(FRHICommandListImmediate&), void (FRHICommandListImmediate&)>::Call(void*, FRHICommandListImmediate&) Address = 0x128232ff5 (filename not found) [in UE4Editor-MaterialUtilities.dylib]
FRenderThreadScope::~FRenderThreadScope()::'lambda'(FRHICommandListImmediate&)::operator()(FRHICommandListImmediate&) const Address = 0x11236eac4 (filename not found) [in UE4Editor-Engine.dylib]
TEnqueueUniqueRenderCommandType<FRenderThreadScope::~FRenderThreadScope()::DispatchScopeCommandsName, FRenderThreadScope::~FRenderThreadScope()::'lambda'(FRHICommandListImmediate&)>::DoTask(ENamedThreads::Type, TRefCountPtr<FGraphEvent> const&) Address = 0x11236f041 (filename not found) [in UE4Editor-Engine.dylib]
TGraphTask<TEnqueueUniqueRenderCommandType<FRenderThreadScope::~FRenderThreadScope()::DispatchScopeCommandsName, FRenderThreadScope::~FRenderThreadScope()::'lambda'(FRHICommandListImmediate&)> >::ExecuteTask(TArray<FBaseGraphTask*, TSizedDefaultAllocator<32> >&, ENamedThreads::Type) Address = 0x11236f3d9 (filename not found) [in UE4Editor-Engine.dylib]
FNamedTaskThread::ProcessTasksNamedThread(int, bool) Address = 0x10ec5ce86 (filename not found) [in UE4Editor-Core.dylib]
FNamedTaskThread::ProcessTasksUntilQuit(int) Address = 0x10ec5b4a0 (filename not found) [in UE4Editor-Core.dylib]
RenderingThreadMain(FEvent*) Address = 0x1178e5513 (filename not found) [in UE4Editor-RenderCore.dylib]
FRenderingThread::Run() Address = 0x11790ff87 (filename not found) [in UE4Editor-RenderCore.dylib]
FRunnableThreadPThread::Run() Address = 0x10ed81e68 (filename not found) [in UE4Editor-Core.dylib]
FRunnableThreadPThread::_ThreadProc(void*) Address = 0x10ed0e424 (filename not found) [in UE4Editor-Core.dylib]
_pthread_start Address = 0x7fff6740e109 (filename not found) [in libsystem_pthread.dylib]
thread_start Address = 0x7fff67409b8b (filename not found) [in libsystem_pthread.dylib]

Have Comments or More Details?

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

2
Login to Vote

Fixed
ComponentUE - Graphics Features
Affects Versions4.26.1
Fix Commit17236676
CreatedMar 2, 2021
ResolvedNov 2, 2021
UpdatedDec 6, 2021
View Jira Issue