# UE 5.8.0 - Ensure condition failed: FrontLayerTranslucencyGBuffer resources should only be created if any view will render in this pass

**URL:** <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>\
**Category:** Issues and Bug Reporting (Unreal Engine)\
**Tags:** unreal-engine, open\
**Created:** [September 2, 2026, 10:55pm UTC](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 "2026-09-02T22:55:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hippowombat](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/hippowombat/32/906590_2.png) [@hippowombat](https://forums.unrealengine.com/u/hippowombat)\
**Post date:** [September 2, 2026, 10:55pm UTC](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/1 "2026-09-02T22:55:10Z")

</div>

### 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

 ![image (31).png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/2/b/c2bfd355acbfde8dee962f20db99f6c94cb80bfd.png)

### 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?

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [October 23, 2026, 6:00pm UTC](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/3 "2026-10-23T18:00:47Z")

</div>

UE-405904 has been ‘Closed’ as a duplicate of an existing known issue. Origin Issue: UE-385152

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [October 23, 2026, 6:00pm UTC](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/4 "2026-10-23T18:00:47Z")

</div>

UE-385152 is ‘Closed’ as ‘Fixed’. The issue will be addressed in 5.8.4.
