x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Set Material on particle system doesn't work anymore

I have a blueprint that randomly selects a material and assigns it to a particle system in order to create color variations:

alt text

This was working fine on 4.17, but once I updated my project to 4.19, the particles always have their default material. I debugged and made sure that a valid random material is getting chosen, that the random materials render as expected when I preview them, and that this code is actually running.

Workarounds I've tried:

  • Toggling visibility of the particle system off/on after calling Set Material to see if that would force an update.

  • Using a particle component instead of Spawn Emitter at Location, and calling Set Material on it before activating the particle system.

  • Adding a delay between spawning the emitter and calling Set Material

None of those worked, so I'm at a bit of a loss how to get around this without pursuing a different implementation. Help would be appreciated!

Product Version: UE 4.19
Tags:
more ▼

asked Mar 29 '18 at 08:39 PM in Bug Reports

avatar image

rinbu
107 2 5 12

avatar image Jeff A ♦♦ STAFF Mar 29 '18 at 08:59 PM

Hello,

We've recently made a switch to a new bug reporting method using a more structured form. Please visit the link below for more details and report the issue using the new Bug Submission Form. Feel free to continue to use this thread for community discussion around the issue.

https://forums.unrealengine.com/unreal-engine/announcements-and-releases/1410408-unreal-engine-bug-submission-form

Thanks

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question