Animation shakes in Unity (fbx import from Maya)
Asked Answered
P

12

0

I have had this issue when importing from Maya for over a month now and I have spent countless hours trying to find a solution with no luck.

I have a basic ik rig in Maya (no bells or whistles just bones, control objects and skinning) that I am exporting into Unity via fbx. Being that it is an ik set up I have baked the animation and deleted my ik's and effectors. I use the "@" naming convention and bring it into Unity. Everything plays as it should, however, throughout the animation the character will shake as if it has a turbulence modifier on it or something. Thats really the best way I can describe it.

I have tried every way of exporting I can think of. I have tried different versions of the fbx export, importing the .mb file directly, baking in Maya, baking with the fbx export. I have even stripped my rig down to just the core essentials.

Does anyone have any idea why I still get shaking in my animation?

Paillasse answered 5/1, 2024 at 11:36 Comment(3)

Could you post a video of how it looks?

Dead

I'm having the exact same issue. I have a character holding a pistol with both hands. The pistol's animation is fine, but the hands are shaking a bit and passing through the pistol. From a First person view, it's really annoying. I tried exporting from a 2009 to 2014 FBX exporter with the same result. When I import the exported FBX file in another software, it looks great. Only Unity has this problem. Anyone found a solution?

Homocyclic

Six years later, did you manage to sove it yet? I have the exact same issue with 3DS MAX 2017 student version. Not FBX export version seems to solve it. Though, i get the least amount of jitter with the 2012 version.

Glasses
D
0

Maybe you have your character faraway from the center of the world? That could cause shaking due to floating point limited precession

Dead answered 17/12, 2010 at 8:43 Comment(2)

I placed my character right at the center of the world and it was still shaking. Good suggestion though, I didnt know that could be a problem. Thanks!

Paillasse

I have the same problem, the IDLE animation (and weird, coz it is only one from all of them) shakes, in the way the character gets slightly expanded for a frame or 0.01 sec and then gets back to normal appearence. And that only happens in the transition from the last frame to the very first one. I changed the export option for earlier FBX, but didn't help. Is there any sober solution for solving this??

Melodious
W
0

We had this problem today and seemed to solve it by using fbx version 2010 instead of 2011 which seems to have bugs. Also make sure that your .fbx settings are not baking the animation again (this isn't necessary as youve already done it in maya) and also check that Unity isn't reducing your key frames in the import settings.

Whisper answered 4/1, 2011 at 16:32 Comment(0)
S
0

This question is old but it’s the first to appear when you type “unity animation shaking” in google. So I will be telling how I fixed that problem for ppl that type that in google in the future.

This solution is for Blender, but Maya probably has a similar option:
In the fbx export settings there’s a tab called animation (below “fbx version”). Click there and then change “Simplify” value to “0” (default is 1)

In Unity you probably need to turn off animation compression for that animation too.

Sherly answered 6/6, 2023 at 2:11 Comment(1)

Bro, thank you so much

Monongahela
S
0

I had the same problem but i worked in Blender. (In Blender) Go to edit mode, select a bone and make sure “Roll” is set to 0. Repeat for every bone.

Sommerville answered 29/5, 2017 at 6:34 Comment(0)
C
0

Hi Earlage,

i am kiran .you got answer? please tell me solution?

Carousal answered 26/9, 2017 at 11:11 Comment(0)
G
0

Wow, this brings me back. I actually remember fixing it by checking the export back in 3ds max. Meaning, I’d export it, import it, and make sure everything was okay. Every time unity messed up, it was because of a faulty export.

Glasses answered 27/9, 2017 at 16:13 Comment(0)
P
0

Iv’e been dealing with this problem for months now but I somehow managed to fix it by selecting a “root node” object in the fbx’s import settings under “rig”. I know this response is super late but i figured if it worked for me it may help someone else, eventually.

Parclose answered 6/1, 2018 at 3:52 Comment(0)
H
0

Here is my solution. I had this problem exporting a quick rig character from Maya to unity. Even if I just moved the hip controller up and that is it, the legs would shake pretty noticeably. In unity click on your exported motion rig. in the import settings click on the animation tab. and fiddle with the animation compression settings. For me turning them off completely did it for me. No more shaking. Good luck.

Halflight answered 12/4, 2018 at 2:39 Comment(0)
E
0

Even today people are experiencing this problem with all 3D applications. If you’ll reimport your *.fbx file back to 3D application and see that everything is fine than the problem is on Unity side. It seems one of the reasons of this shaking issue is that Unity playing animation not only on 30fps but much faster. So it trying to interpolate existing keys and kind of ‘fill holes’ between frames.
What helped me is scaling animation two times longer and then export it as usual and playing in engine two times faster. This provides more important information to Unity. Because of short animations I have no drastic changes in .fbx file size.

Embosser answered 22/10, 2019 at 8:49 Comment(0)
I
0

Had the same issue with Blender, don’t know if I did something or it fixed its self but here is what I did. I did what @Sherly suggested and set the “Simplify” value to 0, that didn’t work. So then I set it back to 1 and tried again. Exported it to Unity and the jitteriness was still there, but now it was REALY small and barely noticeable, this was good enough for me.

Don’t know if this would help anyone but cheers.

Inflate answered 21/3, 2021 at 16:44 Comment(0)
B
0

I had the same problem while using Maya, but resolved it in Unity animation import settings by turning Anim Compression and Resample Curves to off.

Brianna answered 28/10, 2021 at 0:33 Comment(0)
T
0

i have found the solution
try to export it with dae_fbx instead of fbx it and after importing in unity turn off keyframe reduction it will work 100% and thanks me later.

Tonsillectomy answered 5/1, 2024 at 6:20 Comment(0)

© 2022 - 2025 — McMap. All rights reserved.