Animation Splitting

Hi,

I imported a character with 3 animations attached on it. When i set the frames (for example: 1-50 throw, 51-70 move) but when i apply it, the animation disappears so when i attach my script that searches for the frame tags, it can’t be found.

I’m having the same problem with animation splitting. I am using Cheetah3D to model and animate.

Attempt 1:

  • I import the jas file with animations into Unity.
  • FBXImporter Settings:
    ANIMATIONS
    Generation: “Store in Root”
    Bake, Reduce, Split all unchecked.

Result:
The asset lists its animations in the project pane.
But if I call the animations by name in a script, I am told that no such animation exists.
So on to attempt 2.

Attempt 2:

  • I adjust FBXImporter Settings:
    ANIMATIONS
    Generation: “Store in Root”
    Bake, Reduce unchecked.
    Split checked.
  • I attempt to describe each clip.
    Click the plus.
    Unity guesses at a clip, providing a name for one of my clips and picks frames 1-25.
    Click the plus again.
    Unity guesses again, using the previous name with “0” appended at the end and picks frames 26-50
  • Even though this information appears incorrect, I click apply.

Result:
The console gives me ImportFBX Errors and the clips disappear from the project pane.

Attempt 2:

  • I adjust FBXImporter Settings:
    ANIMATIONS
    Generation: “Store in Root”
    Bake, Reduce unchecked.
    Split checked.
  • I attempt to describe each clip.
    Click the plus.
    This time I enter the frames 0 - 60 and name for the first clip (60 frames).
    Click the plus again.
    This time I enter the frames 61 - 122 and name for the second clip (60 frames).
  • Click Apply

Result:
ImportFBX Errors (same as the first) and the clips disappear from the project pane.

Hypothesis:
I assume that I am entering the wrong frame ranges for my clips, but can’t find this information in Cheetah. I am using Cheetah’s pane called “Takes” and using that information to describe each clip in Unity.

Problem 1 - In Cheetah each of my Takes are exactly 2 seconds long (30 frames per second) and thus end at frame 60 while starting on Frame 0. Soooo… when upon import into Unity I split these into clips is the first clip from 0-60 and the second from 61-122?

Problem 2 - In Cheetah the Takes are displayed in a list. I am assuming that the first take in this list would also be the first clip. I don’t know with certainty that this is the case.

I am getting a similar error when I have a script instantiate a gameobject that has animations attached to it, and then when it has the script call the animation on that object it says there is no Animation attached to the object. It is clearly there, but after it’s first play and the script is called again, it says it is not there. I have no problems if there are no other instantiated objects however.