Description

Initializing a System parameter to a Niagara Parameter Collection data interface parameter does not work

Steps to Reproduce
  1. Open a project 
  2. Create and open a new Niagara System with the Fountain template emitter selected
  3. On the Emitter, disable the Scale Color module
  4. Add the Color module to Particle Update
  5. Set the Color module's Color input to Color from Curve
  6. Create and open a new Niagara Parameter Collection
  7. Add a Curve for Colors DI to the NPC add a few color keys to it and one alpha key set to 1
  8. In the Niagara System, set the Color module's Color from Curve dynamic input script's ColorCurve input to the NPC Color Curve parameter
    1. Result - the simulation works as expected and the particles interpolate between the colors selected in the NPC
  9. In System Spawn, add a Set Parameters module
  10. On the Set Parameters module, create a new Curve for Colors DI param
  11. Set the System.NewNiagaraDataInterfaceColorCurve parameter to the NPC Color Curve parameter
  12. On the Emitter, set the Color module's Color from Curve dynamic input script's ColorCurve input to System.NewNiagaraDataInterfaceColorCurve

Result: Once compiled, the particles are not visible as if they were using the default black/0 alpha color curve 

Expected Result: The particles should interpolate between the selected colors in the NPC like they do in step 8

Have Comments or More Details?

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

3
Login to Vote

Backlogged
ComponentUE - Niagara - Data Interface
Affects Versions4.26
Target Fix5.5
CreatedJan 4, 2021
UpdatedMar 25, 2024