Description

The sphere cast module has some custom HLSL that calls QueryMeshDistanceFieldGPU, the signature for the function changed, but the HLSL wasn't updated to match so it fails to compile. 

Steps to Reproduce
  1. Create a system based off the fountain emitter
  2. Create a new scratch module
  3. Add the node Sphere Cast Global Distance Field
  4. Link one of the outputs to the scratch module outputs
  5. Add a collision query input to the scratch module and link it to the Collision DI
  6. Add the module to the stack
  7. Compile
  8. Check the Output Log

RESULT

This error will appear

 

Error: /Engine/Generated/NiagaraEmitterInstance.ush(2870,3-114): Err0r X3013: 'QueryMeshDistanceFieldGPU_EmitterNewCollisionQuery': no matching 3 parameter function Fountain, Particle GPU Compute Script.

Have Comments or More Details?

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

3
Login to Vote

Fixed
ComponentUE - Niagara
Affects Versions4.26
Target Fix4.27
Fix Commit15646851
CreatedMar 3, 2021
ResolvedMar 8, 2021
UpdatedApr 16, 2021
View Jira Issue