Description

Plugging in a SceneTexture:WorldNormal masked to RG into the Opacity of a Translucent Default Lit Material and assigning this material into a Particle System will crash the editor.

Crash Reporter: [Link Removed]

Steps to Reproduce
  1. Open QAGame Editor
  2. Create a New Translucent Default Material
  3. Assign a SceneTexture:WorldNormal masked down to RG to the Opacity Input
  4. Save Material
  5. Create a New Particle System
  6. In the Required Module, Assign the Created Material to the System
  7. Click on any other module in Cascade

RESULTS: Crash

EXPECTED: Not a Crash

Callstack

Assertion failed: Buffer->GetLayout().GetHash() == Shader->ShaderResourceTable.ResourceTableLayoutHashes[BufferIndex] [Link Removed] [Line: 1165]

UE4Editor_D3D11RHI!FD3D11DynamicRHI::SetResourcesFromTables<FD3D11PixelShader>() d3d11commands.cpp:1166
UE4Editor_D3D11RHI!FD3D11DynamicRHI::CommitGraphicsResourceTables() d3d11commands.cpp:1190
UE4Editor_D3D11RHI!FD3D11DynamicRHI::RHIDrawIndexedPrimitive() d3d11commands.cpp:1289
UE4Editor_Renderer!FMeshDrawingPolicy::DrawMesh() drawingpolicy.cpp:175
UE4Editor_Renderer!FTranslucencyShadowDepthDrawingPolicyFactory::DrawDynamicMesh() translucentlighting.cpp:442
UE4Editor_Renderer!FProjectedShadowInfo::RenderTranslucencyDepths() translucentlighting.cpp:570
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderTranslucentProjectedShadows() shadowrendering.cpp:2913
UE4Editor_Renderer!FDeferredShadingSceneRenderer::RenderLights() lightrendering.cpp:513
UE4Editor_Renderer!FDeferredShadingSceneRenderer::Render() deferredshadingrenderer.cpp:993
UE4Editor_Renderer!RenderViewFamily_RenderThread() scenerendering.cpp:1355
UE4Editor_Renderer!TGraphTask<`FRendererModule::BeginRenderingViewFamily'::`17'::EURCMacro_FDrawSceneCommand>::ExecuteTask() taskgraphinterfaces.h:753
UE4Editor_Core!FTaskThread::ProcessTasks() taskgraph.cpp:430
UE4Editor_Core!FTaskThread::ProcessTasksUntilQuit() taskgraph.cpp:273
UE4Editor_RenderCore!RenderingThreadMain() renderingthread.cpp:284
UE4Editor_RenderCore!FRenderingThread::Run() renderingthread.cpp:385
UE4Editor_Core!FRunnableThreadWin::Run() windowsrunnablethread.cpp:73

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Rendering
Affects Versions4.7.64.8.24.9
Target Fix4.9
Fix Commit2651076
Release Commit2651096
CreatedJul 21, 2015
ResolvedAug 11, 2015
UpdatedApr 27, 2018