Unity finds no animation data in FBX exported with a ShapeKey animation #105425

Open
opened 2024-08-03 17:37:21 +02:00 by Tyler-Milewski · 0 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.61

Blender Version
Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: 40a5e739e270
Worked: n/a

Addon Information
Name: FBX format (5, 11, 7)
Author: Campbell Barton, Bastien Montagne, Jens Restemeier, @Mysteryem

Short description of error
Unity finds no animation data when exporting an FBX that has a ShapeKey anim pushed to the NLA strip. Also,
Repeating the process with just a simple ShapeKey animation that lengthens the default cube in a new Blender project that is supposed to be 84 frames long reveals the same: Unity says #0: Key 1 (1 frames), and finds no animation data. Yes it is pushed to the NLA strip and is the only thing there. Correct object selected and correct export settings to my knowledge, ('Apply Modifiers UN-checked', etc.)

Right now, it is unclear to me whether the problem is with Unity importing or Blender's FBX export, so be aware I have posted an equivalent report with Unity, which has some images and other helpful info (this link only seems to work when you paste it into your browser)

https://discussions.unity.com/t/blend-shapes-all-showing-up-as-1-frame-in-unity-no-animation-data-strange-import-error/1493262

Unity 2022.3.2f1 (same issue on 2022.3.39f1), Blender 4.1 (I tried Blender 3.6 too, same thing happening)

Exact steps for others to reproduce the error
With a new project, add a ShapeKey that just moves one of the cube faces from its original position to a different position.
Make an animation out of this by adding just 2 keyframes that move the face from its original position to the other position over 50 frames or so. Push that to the NLA strip. Export with uploaded settings. Unity then says that the BlendShape it sees is only 1 frame long, and finds no animation data.

Thanks for any help with this!

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 551.61 **Blender Version** Broken: version: 4.1.0, branch: blender-v4.1-release, commit date: 2024-03-25 20:42, hash: `40a5e739e270` Worked: n/a **Addon Information** Name: FBX format (5, 11, 7) Author: Campbell Barton, Bastien Montagne, Jens Restemeier, @Mysteryem **Short description of error** Unity finds no animation data when exporting an FBX that has a ShapeKey anim pushed to the NLA strip. Also, Repeating the process with just a simple ShapeKey animation that lengthens the _default cube in a new Blender project_ that is supposed to be 84 frames long reveals the same: Unity says #0: Key 1 (1 frames), and finds no animation data. Yes it is pushed to the NLA strip and is the only thing there. Correct object selected and correct export settings to my knowledge, ('Apply Modifiers UN-checked', etc.) Right now, it is unclear to me whether the problem is with Unity importing or Blender's FBX export, so be aware I have posted an equivalent report with Unity, which has some images and other helpful info (this link only seems to work when you paste it into your browser) [https://discussions.unity.com/t/blend-shapes-all-showing-up-as-1-frame-in-unity-no-animation-data-strange-import-error/1493262](url) Unity 2022.3.2f1 (same issue on 2022.3.39f1), Blender 4.1 (I tried Blender 3.6 too, same thing happening) **Exact steps for others to reproduce the error** With a new project, add a ShapeKey that just moves one of the cube faces from its original position to a different position. Make an animation out of this by adding just 2 keyframes that move the face from its original position to the other position over 50 frames or so. Push that to the NLA strip. Export with uploaded settings. Unity then says that the BlendShape it sees is only 1 frame long, and finds no animation data. Thanks for any help with this!
Tyler-Milewski added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2024-08-03 17:37:22 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender-addons#105425
No description provided.