Description

Parameters left over from an old source MPC cannot be removed without renaming them first.

 

When debugging in FNiagaraParameterStore::RemoveParameter it seems that the parameter cannot be found in the parameter store when calling IndexOf.

Steps to Reproduce
  1. Create a Material Parameter Collection
  2. Add a scalar and a vector parameter to it and save it
  3. Create a Niagara Parameter Collection
  4. Set the NPC's source MPC to the one created it step 1
  5. Save the NPC, then reset its source MPC
  6. Note that the scalar and vector parameters' names have changed
  7. Select one of the parameters and try to delete it by pressing the "Delete" key.

RESULT

The parameter is not deleted

 

WORKAROUND

Renaming the parameter allows it to be deleted 

Have Comments or More Details?

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

1
Login to Vote

Fixed
ComponentUE - Niagara
Target Fix5.4
Fix Commit29914339
Main Commit29914353
CreatedJun 1, 2023
ResolvedNov 23, 2023
UpdatedDec 19, 2023