"has no motion" warnings

Posted by Adam R. Grey on Game Development See other posts from Game Development or by Adam R. Grey
Published on 2013-11-08T14:45:44Z Indexed on 2013/11/08 16:17 UTC
Read the original article Hit count: 303

Filed under:
|

When I reimport my project's Library, I get lots of warnings such as

State combat.Ghoul Attack has no motion

but I have no idea why. In this specific case, I looked up Ghoul Attack. Here's the state in which it appears, in the only animator controller that includes anything called Ghoul Attack:

State:
m_ObjectHideFlags: 3
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: Ghoul Attack
m_Speed: 1
m_CycleOffset: 0
m_Motions:
- {fileID: 7400000, guid: 0db269712a91fd641b6dd5e0e4c6d507, type: 3}
- {fileID: 0}
m_ParentStateMachine: {fileID: 110708233}
m_Position: {x: 492, y: 132, z: 0}
m_IKOnFeet: 1
m_Mirror: 0
m_Tag: 

I thought perhaps that second one - {fileID: 0} was throwing up the warning incorrectly, so I removed it. There was no effect, I still get warnings about Ghoul Attack. So given that the only state I know of with that name does in fact have motion, what is this warning actually trying to tell me?

© Game Development or respective owner

Related posts about unity

Related posts about mecanim