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"

Morph target blend briefly resets after call to SetMaterial

I've discovered a bug in morph targets resetting briefly when setting materials on the same mesh.

Steps to reproduce:

  1. Import a Skeletal Mesh with at least one morph target.

  2. Create a basic Character blueprint with this mesh.

  3. Set the morph target to 1.0 value with a Set Morph Target node in the character blueprint on Event Begin Play.

  4. Setup a timer using Set Timer Delegate which calls an event every 2 seconds.

  5. Hook the event to a call to a FlipFlop.

  6. Hook a call to Set Material to the A output of the FlipFlop.

  7. Hook a call to Set Material to the B output of FlipFlop.

  8. Choose a different material for each Set Material call.

Expected result: Only the material changes. The morph target stays the same.

Actual Result: Mesh visibly returns to its original shape briefly (almost instantaneously) before returning to the morphed state.

Product Version: Not Selected
Tags:
more ▼

asked Dec 31 '14 at 11:54 PM in Bug Reports

avatar image

coreyx
11 2 3 5

avatar image Ypsylon Feb 13 '15 at 01:28 PM

Hi,

I am having exactly same issues right now. Any info on this, is this bug? Is fix coming in 4.7 (Hopefuly :-))?

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

1 answer: sort voted first

Hi coreyx,

I've created a sample in 4.7.2 so if it was a bug before, it has been corrected. You can flip flop between materials and morph targets with the following set up (Be sure your materials have the "Use with Blendspace" check box filled.)

alt text

alt text

alt text

blend1.jpg (145.3 kB)
blend2.jpg (27.5 kB)
blend3.jpg (22.2 kB)
more ▼

answered Mar 05 '15 at 09:03 PM

avatar image VSZ Dec 31 '17 at 04:05 PM

This issue appears to have regressed in 4.17 and is still reproducible in 4.18.

I have created a new bug report with more details on exactly how to reproduce it: https://answers.unrealengine.com/questions/741747/regression-morph-targets-resetflicker-with-set-mat.html

Gist: The easiest way to reproduce this issue is to use PIE's "Frame Skip" button with the above setup so you can catch the exact frame where the morphs have been reset.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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