Description

Very rarely, the game client will crash on shutdown and the log will contain messages that look like:

LogOutputDevice: Error: Ensure condition failed: false  [File:Engine\Source\Runtime\RenderCore\Private\ShaderCodeLibrary.cpp] [Line: 1271] 
LogOutputDevice: Error: FShaderMapResource_SharedCode::ReleaseRHI is still referenced (Num of references 1, owner <material instance used in Niagara>)

The owner changes, but in the 2 cases that listed owners, both belonged to Material Instances that were used only inside Niagara Systems.

Steps to Reproduce

This issue occurs inconsistently on game client exit/shutdown.

Have Comments or More Details?

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

0
Login to Vote

Duplicate
ComponentUE - Niagara - Rendering
Affects Versions5.3
CreatedMay 7, 2024
ResolvedMay 8, 2024
UpdatedJun 4, 2024
View Jira Issue