Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

4.5.0f3

Issue ID

606755

Regression

No

BlendTree spawns errors when selecting a time scale on "Adjust Time Scale" parameter

Animation

-

BlendTree spawns errors when selecting a time scale on "Adjust Time Scale" parameter.

To reproduce:
- Create a new project and import the "Mecanim Example Scenes" project from Asset Store
- Open the "Generic Skeleton Example" scene
- In Project Browser, go to Controllers folder and double-click on "MineBot" Animator Controller
- In the Animator window - double-click on "Locotion"
- Select the BlendTree
- Go to Inspector > Adjust Time Scale and select "Homogeneous Speed"
- Observe the following errors in Console:

Quaternion To Matrix conversion failed because input Quaternion is invalid {nan, nan, nan, nan} l=nan
UnityEditor.DockArea:OnGUI()

aabb.IsValid()
UnityEditor.DockArea:OnGUI()

IsFinite(outDistanceForSort)
UnityEditor.DockArea:OnGUI()

IsFinite(outDistanceAlongView)
UnityEditor.DockArea:OnGUI()

Quaternion To Matrix conversion failed because input Quaternion is invalid {nan, nan, nan, nan} l=nan
UnityEditorInternal.AnimatorController:SetAnimatorController(Animator, AnimatorController)
UnityEditor.DockArea:OnGUI()

Comments (3)

  1. xiaoken

    Dec 08, 2014 23:38

    I had a similar problem that was resolved when I found one of my animation speeds in the animator was set to 0. The animator should be more robust than this and give a more specific error message but that's how I fixed my error.

  2. Michieal

    Aug 30, 2014 07:37

    I have this error, and I don't even have a Terrain asset in the scene. I have to close the scene (by loading another,) and then reload the first scene to get it to stop producing the error. otherwise, it spawns so many errors, the editor crashes. I'm beginning to doubt Unity as a viable game engine.

  3. Rainsing

    Jun 03, 2014 07:32

    Same problem here. Any workaround?

Add comment

Log in to post comment