Search Issue Tracker

Won't Fix

Votes

4

Found in

5.2.2p1

Issue ID

740658

Regression

No

Crash in AnimationCurveTpl<Quaternionf>::EvaluateClamp when reimporting fbx animation

Animation

-

Repro Steps
- Open Main.unity
- Select the 'Worker' object in the hierarchy
- On attached script name click right mouse button and 'Setup'
- Reimport the lone fbx in the 'Animations folder'
- Observe crash

Note: reimporting all assets is not causing crash.

Note that there seems to be either something in this particular 3ds max file / fbx that is causing this as a "clean" animation does not cause the crash.

Developers won't fix bugs in the Legacy system.

Also they provided solution for this. You simply need to change your SampleAnimation so that it checks the validity of the clips that is played before sampling:

if (animState != null && animState.clip != null)
{
...
}

Comments (4)

  1. AFrisby

    Nov 27, 2015 09:10

    Stack trace for us;

    000000014043D7E6 (Unity) AnimationCurveTpl<Vector3f>::EvaluateClamp
    000000014001C055 (Unity) Animation::BlendOptimized
    000000014002BE1D (Unity) Animation::SampleInternal
    000000014002C0D1 (Unity) Animation::UpdateAnimation
    000000014009D01A (Unity) AnimationManager::Update
    00000001404800BB (Unity) PlayerLoop
    0000000140D28DC7 (Unity) Application::UpdateScene
    0000000140D29086 (Unity) Application::UpdateSceneIfNeeded
    0000000140D35636 (Unity) Application::TickTimer
    0000000140E48FC4 (Unity) RelaunchUnity
    0000000140E4A5BB (Unity) WinMain
    00000001414DF510 (Unity) strerror_s
    00007FF897DD2D92 (KERNEL32) BaseThreadInitThunk
    00007FF898309F64 (ntdll) RtlUserThreadStart

  2. AFrisby

    Nov 27, 2015 09:09

    Having this occur as well, in a project that was upgraded from 4.X

  3. temps

    Nov 17, 2015 14:01

    We got this crash in a built version of our game. Using 5.2.2p4

  4. TheChuckster

    Nov 11, 2015 18:38

    I am experiencing this crash in my game as well when I unload a certain FBX asset.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.