Description

POST LINK: https://forums.unrealengine.com/t/ue-5-8-0-ensure-condition-failed-frontlayertranslucencygbuffer-resources-should-only-be-created-if-any-view-will-render-in-this-pass/2760338

POST BODY:

  • Summary
    UE 5.8.0 - Assertion failed: StateBefore != D3D12_RESOURCE_STATE_COMMON
    Engine\Source\Runtime\D3D12RHI\Private\D3D12LegacyBarriers.cpp Line: 1454
  • What Type of Bug are you experiencing?
    Rendering (Graphics / Niagara)
  • Steps to Reproduce
    Difficult to reproduce - happens when spawning in a particle system w/ an additive blend mode.
  • Expected Result
    Engine does not trigger ensure condition when spawning additive blend material bearing niagara system
  • Observed Result
    Engine triggers an assertion failure when spawning additive blend material bearing niagara system
  • Affects Versions
    5.8
  • Platform(s)
    Windows
  • Upload an image
    [Link Removed]
  • Additional Notes
    Found relevant messaging when debugging:

if (ResourceState.AccessBefore != ERHIAccess::Present)
{
check(StateBefore != D3D12_RESOURCE_STATE_COMMON);
}
In D3D12LegacyBarriers.cpp, Ln 1454

ensureMsgf(bAnyViewRendersPass, TEXT("FrontLayerTranslucencyGBuffer resources should only be created if any view will render in this pass."));
In FrontLayerTranslucency.cpp, Ln 716

removing these validation checks bypasses the crash, but also removes validation checks that we are unsure are necessary?

POST AUTHOR: hippowombat
CREATED AT: 09/02/2026 06:55 PM EDT
UPDATED AT: 10/23/2026 01:46 PM EDT

Have Comments or More Details?

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

0
Login to Vote

Duplicate
CreatedOct 23, 2026
ResolvedOct 23, 2026
UpdatedNov 30, 2026
View Jira Issue