The Volumetric Shader seems broken when used along the Niagara Mesh Renderer.

Reported and tested in version 4.25.3(CL 13942748). Tested with same result in version 4.24.3(CL 11590370).

Steps to Reproduce
  1. Add an Exponential Height Fog to the scene and check the Volumetric Fog box
  2. Create a Niagara System that uses Mesh Renderer and place it in the scene
  3. Create a new Volumetric Material and assign it to the Niagara System that you just created

Result: The material will refuse to compile and give you these errors:

MaterialEditorStats: Error: [SM5] /Plugin/FX/Niagara/Private/NiagaraMeshVertexFactory.ush(791,2-66): warning X3206: implicit truncation of vector type

MaterialEditorStats: Error: [SM5] /Engine/Private/VolumetricFogVoxelization.usf(64,33-110): error X3004: undeclared identifier 'VertexFactoryGetTranslatedPrimitiveVolumeBounds'


Expected: The material compiles properly


Have Comments or More Details?

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

Login to Vote

ComponentUE - Rendering - Niagara
Affects Versions4.
Target Fix4.27
Fix Commit16590006
Main Commit16590147
Release Commit16590006
CreatedSep 1, 2020
ResolvedJun 8, 2021
UpdatedDec 1, 2022