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"

Why is my animation playing in Matinee but not PIE?

Hello,

I'm working on a complex cinematic including motion capture animations and the likes. I experience a very strange error.

My whole cinematic is edited in Matinee and if I move the time bar around or hit play in Matinee, everything works as expected. But when I do a PIE, some of my mocap animations don't launch.

I have absolutely no clue where this might come from. Thanks for any insight and / or help.

Product Version: Not Selected
Tags:
more ▼

asked Mar 27 '15 at 09:55 AM in Using UE4

avatar image

YTanakaKenzan
6 1 2 2

avatar image YTanakaKenzan Mar 31 '15 at 02:20 PM

I'm bumping this because I really need a solution. Re-making my scene and / or my matinee is out of the question because deadline is too short and frankly that's over 70 tracks to redo.

avatar image YTanakaKenzan Apr 01 '15 at 09:25 AM

Reminder: I am working on a complex cut-scene comprising of ~50 imported FBX animations and currently featuring over 12 different camera placements and movements. Two of my FBX animations don't work. But, oddly enough, exclusively outside of Matinee: they don't work in PIE, or Matinee video export, but work well when trying them by playing with the trackline or playing in Matinee, or in asset preview.

First is a character and because of incredibly strict NDA I can't show neither name, picture or anything about it. Its first animation is at fault here and the weirdest part is that it used to work until fairly recently. I have absolutely no idea what change could have caused it to stop working, as nothing changed it directly in a while.

I did notice however that if I forced Start position on my Matinee actor in the scene to approximately the time when my character should be visible, its animation did start correctly.

Second is a camera, the only one whose animation comes from an FBX file. So there's a skeletal mesh of a cone with the animation, and a camera is childened to it. That's the setup for which I have given a Matinee screenshot. In this case my Director cuts to the appropriate camera without problem, but the container's animation never plays out.

For whatever reason, this doesn't appear to be fixed by forcing start position to either the beginning or the middle of this animation: it just never works. Except when trying it out that is.

I end up with the double problem that I stuff doesn't work, but worse than that I can't even find a way to observe the faulty behaviour, as everything works as expected in "debug" setups.

I really need an answer from someone knowledgeable on this. I couldn't find any related problem, let alone one that was answered. Nobody around me has any clue about this or time to dig much. Deadline is approaching fast and re-making my Matinee would take too much time for unguaranteed results.

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

5 answers: sort voted first

Hi,

You need to set it up to play in the Level Blueprint like so:

If you have camera cuts, you need to create a Director Group and add "keys" to it's track to define where the cuts occur and what camera to switch to. Adding this code to your level will force the viewport to use Matinee on Play.

alt text

more ▼

answered Mar 27 '15 at 02:48 PM

avatar image

Stitched
1 1

avatar image YTanakaKenzan Mar 27 '15 at 03:01 PM

Hello and thanks for your reply Stitched!

Unfortunately I know this is not the source of the problem. My Matinee is set to Play On Level Load and almost everything works as expected. So far I have spotted 2 animations that don't fire at all from Matinee while in PIE. All the others (something like 70 keys of animations, movements, FOVs and the likes - plus the Director group) work as expected.

avatar image Stitched Mar 27 '15 at 03:20 PM

Are the animation tracks ticked (small box on left of track)? Do keys appear on their tracks? When you view the track through the curve editor, are there changed in animation curves or a series of constant keys?

avatar image YTanakaKenzan Mar 27 '15 at 04:01 PM

Everything is in check. Here is a screenshot of my setup: Camera40 is attached to a joint on Camera4 so that it follows its animated root.

It all works if I only preview it using Matinee's playback controls - editor cuts, Camera4 moves and Camera40 follows, FOV works as expected.

But if I play in editor, while editor track and Camera40's FOV are correct, Camera4's animation doesn't play - making Camera40's feed completely static.

alt text

some.png (124.9 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

What does the Director track contain?

What if you added another track/subtrack under the Director for Camera4's animation only?

more ▼

answered Mar 31 '15 at 02:44 PM

avatar image

Stitched
1 1

avatar image YTanakaKenzan Mar 31 '15 at 03:17 PM

The Director switches from one camera to the other depending on which one is required - pretty standard configuration which is used in the Matinee demo project.

I cannot have more than one Director track as only one at a time can be active.

avatar image Stitched Mar 31 '15 at 03:41 PM

So the Director track that is there already contains camera information (prior cuts) but doesn't contain Camera4 ? Or it DOES contain Camera4 (the light green bar) ? Is there a reason the movement track for Cam4 is empty (except for one key) but the Anim track has a bar on it?

avatar image YTanakaKenzan Mar 31 '15 at 03:47 PM

The Director has no incidence on animations or movements: it only directs which camera feed is the main one at the time. It contains a reference to Camera40 because that's a Camera Actor. It doesn't contain a reference to Camera4 because that's a Skeletal Mesh to which Camera40 is attached. This is the setup I received from animation.

Camera4 and Camera40's Movement tracks are mostly empty because all I want is to make sure they are at 0;0;0 so that all other animations blend smoothly and it goes correctly with the environment.

The Movement track is NOT what animates Camera4! It is its Animation track, which moves Camera4 correctly in Matinee but not in PIE.

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

Ok so it seems that there are two different issues, with one being fixed for the moment.

The camera container not animating was due to the fact that I had set its render to be Hidden In Game. I can see the rationale behind not animating something invisible, however I really miss that there is not an explicit setting or even warning that this is the case - as there is in Unity. So I'm settling this by making the ugly debug mesh visible and I'll work around that.

For the other case, my character not visible, I still have no clue as of the source of the problem. It used to work, it works in Matinee and in Matinee Movie rendering, so that's enough for me for now. But I'm very disappointed that nothing has surfaced about that.

more ▼

answered Apr 01 '15 at 01:13 PM

avatar image

YTanakaKenzan
6 1 2 2

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

I've run into this as well working on complex cinematics, it's baffling. There are two things that have fixed issues for me, the first is making sure there's enough time for it to load, so setting extra time as a buffer. And the main one being, if you select the animated mesh in the viewport, it probably no longer has the animation assigned to it, so under transform in the Animation section, under "Anim to Play" make sure it's assigned. And if that doesn't work delete the matinee track, and redo it. Good luck, hope this helps.

more ▼

answered Sep 28 '15 at 08:13 AM

avatar image

ABurkley
16 2

avatar image Jacky Sep 28 '15 at 09:26 AM

I just skipped through the posts here but i couldnt see anyone mentioning this: Have you tried setting Mesh Component Update Flag in Details panel of the mesh under Skeletal Mesh section to Always Tick Pose and Refresh Bones? This option should fix the problem when the skeletal mesh starts playing another animation while not rendered.

avatar image huseyin gulgen Feb 05 '16 at 08:18 PM

Thanks you also solved my problem :*

avatar image Radean Mar 16 '16 at 03:16 PM

Thank you Mr Jacky.

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

thank you! you solve my issue as well. I set up a blueprint with a lot of optional meshes and for some reason the animation was playing fine in editor but was stuck to a first frame while in play mode. ticking that checkbox solved my issue.

more ▼

answered Mar 16 '17 at 03:05 PM

avatar image

PROTOFACTOR INC
1 1

(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