Description

Particle emitter with Mesh Data type does not change material to new material instance. It will not apply changes that are being made at run time to a parameter in the material instance being used. 

Working Properly in 4.17 CL# 3658906 and 4.18 CL# 3832480 

Found in 4.19 CL# 4033788 and 4.21 CL# 4101872

This is a regression.

Steps to Reproduce
  1. Open the editor
  2. Create a new material with a vector parameter to set its base color and name it "DiffuseColor"
  3. Create a material instance of the material you just created
  4. Create a particle system with a GPU emitter and Mesh emitter
  5. In the "MeshData" module make sure "Override Material" is checked
  6. Apply the material instance you created to both emitters
  7. Create a new actor blueprint and open it
  8. Add a particle emitter component and set it to the proper particle emitter
  9. Add what is in the attached image to the event graph of the blueprint
  10. Compile and Save the blueprint
  11. Add the actor into the level
  12. Play in editor

Results:
The Mesh particle will not be the same color as the GPU particle. In the projectile blueprint it is setup to change the "DiffuseColor" parameter of the material instance that they are both using.

Expected:
The Mesh and GPU particle will be the same color

 

Steps for Project:

  1. Download attached project 
  2. Open project 
  3. Play in editor
  4. Look at particle

Results:
The Mesh particle will not be the same color as the GPU particle. In the projectile blueprint it is setup to change the "DiffuseColor" parameter of the material instance that they are both using.

 

Have Comments or More Details?

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

17
Login to Vote

Won't Fix
ComponentUE - Niagara
Affects Versions4.194.21
CreatedJun 4, 2018
ResolvedAug 18, 2021
UpdatedSep 19, 2021
View Jira Issue