• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Maria Chernykh · Apr 19, 2013 at 04:34 PM · animationmecanimanimationclip

Mecanim animation clip constraints

Hello, I wonder what conditions must be met to animation clips be properly used in Mecanim (I am using fbx files). For some animation clips I receive message "The clip range is outside of the range of the source take". Is it because the maximum number of frames acceptable by Mecanim is exceeded?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by TonyLi · Apr 19, 2013 at 05:32 PM

More likely the Start and End (probably just End) values for your animation clip are outside the range of animation frames in your FBX file. I've found that sometimes when importing FBX files Unity sets End to a really high value. In the import inspector, click on the clip and make sure Start and End are within the valid range (i.e., 0 to the maximum number of frames in your FBX), then click Apply.

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Maria Chernykh · Apr 21, 2013 at 10:54 AM 0
Share

Thank you very much for your reply. But in import inspector I've got this option disabled, so I can't change Start and End frames (this parts of menu are just grey, I can't affect them, I can only if I clamp the clip). Also, while previewing the clip in inspector I received a following errors:

  1. Quaternion To $$anonymous$$atrix conversion failed because input Quaternion is invalid {-1.#IND00, -1.#IND00, -1.#IND00, -1.#IND00} l=-1.#IND00

  2. aabb.IsValid()

  3. !IsFinite(outDistanceForSort).

avatar image TonyLi · Apr 21, 2013 at 01:54 PM 0
Share

Can you provide a screenshot of the import inspector? Also, when replying, please click on "add new comment" under an answer ins$$anonymous$$d of adding a new answer; it helps to keep the discussion organized. :-)

avatar image Maria Chernykh · Apr 23, 2013 at 09:08 AM 0
Share

alt text

importinspectorscreen.png (128.3 kB)
consolescreen.png (132.9 kB)
avatar image Maria Chernykh · Apr 23, 2013 at 09:10 AM 0
Share

Thank you very much for your help! From now on I would use add comment, it's my first use of Unity Answers, so i'm not an experienced user.

avatar image TonyLi · Apr 23, 2013 at 12:27 PM 1
Share

I think we all do the same thing (add a new answer) when we first start using Unity Answers. :-)

Try clicking on the "Clamp Range" button. This should fix the "The clip range is outside of the range of the source take" error message.

Show more comments
avatar image
0

Answer by Bergquist · Dec 04, 2013 at 06:50 PM

Hello Maria,

I use Maya, and I got this same error when I first tried to import and animated model as an FBX into Unity. "the clip range is outside of the range of the source take" If I click the clamp range button I would lose everything after frame 175 in the animation.

To Fix this, In Maya, go to export selection with options, and after selecting FBX export from the drop down menu I click on Edit Preset.

In the FBX options there is set of options under Animation for Baking your animation. Do This. Check the box, and Bake your entire animation out from start to end frame, and I also checked resample all.

Then when you import as usual into Unity, you will have your entire animation, and will no longer get there source clip error.

Hope This Helps. Cheers

  • Bergquist

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image hakuna1811 · Dec 14, 2013 at 01:35 PM 0
Share

yeah, thanks, I have exactly the same problem and your method works for me :D, just don't know why

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

14 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Editing mecanim animation from script 0 Answers

Mecanim animation clip length works in editor but not in player 0 Answers

Syncronize animation and game logic in turn-based strategy 1 Answer

Problem using mecanim and the Animation process 0 Answers

animation to animator [mecanim] 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges