So just recently something odd happened with maya while i was loading some objects. Last week i was loading objects perfectly fine with their meshes + animations + textures. Yesterday when i tried to load up an object and i tried to import animation to it and test something … the animation wouldnt play when i pressed the play button. The mesh is standing still in the pose it was imported and no movement occures at all. I noticed that in the animation bar appeared red lines across (ss below). As i said last week animation was working perfectly fine. I am not very experienced and this may be a common problem or a turned off option in Maya but i would like to hear from your guys !
I would appreciate some help !
Those red bars are baked keys. Did you reload your MLT file to further work on it or did you load your FBX from Unity?
Did the animations export into said FBX file in the first place - meaning: can you access your animations inside Unity?
The mesh File is in .skn format. It automaticaly loads .skl file and from then i Import the Animation. Last week when i was doing the same exact steps , after importing the .anim , i had no problems at all. The mesh was animating . Now when i press the Play Button mesh wont animate.
As for you Question: According to unity when i export the model (from maya with animation imported) it has no animations included. E.g. Unity doesnt show the animation i imported , when last week everything was working fine and once exported from maya i managed to animate the model in unity without any problems.
It feels like some option has been turned off, i dont have a clue, i havent touched any settings.It happened rather INSTANT I even tried to “factory reset” maya .
EDIT: I dont know what the redlines represent but i can assure you that they were not there last week. The only thing (as setting) i messed with is the settings in Animation → PlayBack Speed → RealTime
EDIT2: Also forgot to mention that when i was importing the animation last week , the anim was instantly starting once imported (looped 1-nce) and stoped. I assume thats standart in maya ,tho
EDIT3: Managed to fix it. The Problem was that the skeleton file was failing to load properly , and the importer wasnt throwing any errors. Tried to load separately Mesh and SKL and it animated properly
I’m telling you - the red lines are keyframes.
Unfortunately I don’t know what format SKL is. And I get the impression that you don’t really understand your software all that good. You animated a character model inside Unity?
So just a few stabs in the dark:
- If you’ve changed something on your model you might have broken the support for the animation you’ve created in unity. For example if you’ve referenced a bone or mesh that isn’t there any more or now lies in a completely different hierarchy.
- You might have changed parameters on the FBX export. Please read the Maya documentation on this issue.
You might want to read the documentation and watch a few videos on using Maya. In general animations should be created in your 3D app and exported from there. How to do this I can’t tell you in a short answer.