Bake animation does not bake custom properties on bones on new action #65773

Closed
opened 2019-06-13 07:28:20 +02:00 by Addison DeBolt · 32 comments

System Information
Operating system: Win 10
Graphics card: Nvidia GTX 1070

Blender Version
Broken: 2.80, c13e10a740, Branch:blender2.7 , 2019-06-04 00:52, as found on the splash screen

Short description of error
When baking animation to new action (from NLA editor) custom properties on bones will not be keyed and baked down.

Exact steps for others to reproduce the error
Create 2 bones with one bone having a custom property on in the bone tab. Drive another bones position or rotation with that custom property. Set keys and change the value of the custom property over time. Create an NLA track from the current action. Select all bones in the armature and bake using the "pose" setting and "selected bones" options. Observe that in the new action, only translation, rotation and scale will be keyed, leaving the custom property unkeyed. When muting the original NLA track, the driven animation will no longer play.

**System Information** Operating system: Win 10 Graphics card: Nvidia GTX 1070 **Blender Version** Broken: 2.80, c13e10a7404d, Branch:blender2.7 , 2019-06-04 00:52, as found on the splash screen **Short description of error** When baking animation to new action (from NLA editor) custom properties on bones will not be keyed and baked down. **Exact steps for others to reproduce the error** Create 2 bones with one bone having a custom property on in the bone tab. Drive another bones position or rotation with that custom property. Set keys and change the value of the custom property over time. Create an NLA track from the current action. Select all bones in the armature and bake using the "pose" setting and "selected bones" options. Observe that in the new action, only translation, rotation and scale will be keyed, leaving the custom property unkeyed. When muting the original NLA track, the driven animation will no longer play.

#102057 was marked as duplicate of this issue

#102057 was marked as duplicate of this issue

#101149 was marked as duplicate of this issue

#101149 was marked as duplicate of this issue
Author

Added subscriber: @Addison

Added subscriber: @Addison

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Could you attach a minimal .blend file where we can just open the file and press bake to observe the issue?

Could you attach a minimal .blend file where we can just open the file and press bake to observe the issue?
Author

Certainly. I've replicated it with the standard rigify rig. If you notice, when merging the NLA strips and muting the two NLA tracks, the IK key switch doesn't get baked and transferred up to the new action.bugNLA.blend

Certainly. I've replicated it with the standard rigify rig. If you notice, when merging the NLA strips and muting the two NLA tracks, the IK key switch doesn't get baked and transferred up to the new action.[bugNLA.blend](https://archive.blender.org/developer/F7579842/bugNLA.blend)

Isn't this expected? The tool tip for Bake Action specifically says that it will only bake loc/rot/scale...

Isn't this expected? The tool tip for `Bake Action` specifically says that it will only bake loc/rot/scale...
Author

Actually you’re right, I guess this would be a requested feature.

Actually you’re right, I guess this would be a requested feature.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sebastian Parborg self-assigned this 2019-07-11 14:21:48 +02:00
Member

Added subscriber: @BClark

Added subscriber: @BClark
Member

Hello, I just hit this today and found this bug entry. Did this get added as a feature request somewhere I am not finding it? Thank you.

Hello, I just hit this today and found this bug entry. Did this get added as a feature request somewhere I am not finding it? Thank you.
Member
there was a build where it was being worked on it looked like https://dev-files.blender.org/file/data/buwk5rog44tnuzhb2sm2/PHID-FILE-yeini5cgtzo24yhfbbv2/release_scripts_modules_bpy_extras_anim_utils.py

Added subscriber: @ChristiaanMoleman

Added subscriber: @ChristiaanMoleman

I too would like to know if this has since been added as a feature or feature request. Not being able to bake blend shapes tied to custom controls is very annoying.

I too would like to know if this has since been added as a feature or feature request. Not being able to bake blend shapes tied to custom controls is very annoying.
Member

Added subscriber: @wbmoss_dev

Added subscriber: @wbmoss_dev
Member

I think it is solved in the https://developer.blender.org/D8867 improvements going on from @wbmoss_dev and or is where it should go possibly since it is an issue when trying to combine actions.

I think it is solved in the https://developer.blender.org/D8867 improvements going on from @wbmoss_dev and or is where it should go possibly since it is an issue when trying to combine actions.
Member

In #65773#1098465, @BClark wrote:
there was a build where it was being worked on it looked like https://dev-files.blender.org/file/data/buwk5rog44tnuzhb2sm2/PHID-FILE-yeini5cgtzo24yhfbbv2/release_scripts_modules_bpy_extras_anim_utils.py

A bit of miscommunication. I sent that link just to show where to look for adding the support you're looking for.

Has anyone tested the D8867 build to see if it solves the problem?

> In #65773#1098465, @BClark wrote: > there was a build where it was being worked on it looked like https://dev-files.blender.org/file/data/buwk5rog44tnuzhb2sm2/PHID-FILE-yeini5cgtzo24yhfbbv2/release_scripts_modules_bpy_extras_anim_utils.py A bit of miscommunication. I sent that link just to show where to look for adding the support you're looking for. Has anyone tested the [D8867](https://archive.blender.org/developer/D8867) build to see if it solves the problem?
Member

Ah, sorry, yes I misunderstood. It makes sense to me that it would go in with the layer merge bake feature possibly so that custom property animation can be properly combined to new actions.
I haven't yet tested the D8867 to see if it worked.

Ah, sorry, yes I misunderstood. It makes sense to me that it would go in with the layer merge bake feature possibly so that custom property animation can be properly combined to new actions. I haven't yet tested the [D8867](https://archive.blender.org/developer/D8867) to see if it worked.

Added subscriber: @adamscott

Added subscriber: @adamscott

Added subscriber: @feldlaufer-4

Added subscriber: @feldlaufer-4

any news on this? working on a feature that uses stepped animation, and all my animation of custom properties is getting lost on baking it is utterly annoying....

any news on this? working on a feature that uses stepped animation, and all my animation of custom properties is getting lost on baking it is utterly annoying....

Added subscriber: @SUNGHOON-JEONG

Added subscriber: @SUNGHOON-JEONG

I'm trying to apply Rigify character to Unreal Engine workflow for my team project.
For the maintenance of complex movements, I organized my animation using NLA and tried to bake it as an action for export to Unreal Engine when the animation was completed.
However, bake action operation of Blender doesn't take into account custom properties, so Rigify's IK-FK conversion, parent retarget, neck/head follow and etc features were ignored, The final animation loses its expressiveness and I lead to a dead end to workflow planning.
It would be great if the Bake Action operation works with custom properties.

I'm trying to apply Rigify character to Unreal Engine workflow for my team project. For the maintenance of complex movements, I organized my animation using NLA and tried to bake it as an action for export to Unreal Engine when the animation was completed. However, bake action operation of Blender doesn't take into account custom properties, so Rigify's IK-FK conversion, parent retarget, neck/head follow and etc features were ignored, The final animation loses its expressiveness and I lead to a dead end to workflow planning. It would be great if the Bake Action operation works with custom properties.

Added subscriber: @AgeofGar

Added subscriber: @AgeofGar

How come it is closed while the issue has not been resolved, is it being tracked elsewhere ?
I am dealing with this on 3.1.0 still. The fact that FK IK switching won't get baked to a single layer is quite a handicap to work with.

How come it is closed while the issue has not been resolved, is it being tracked elsewhere ? I am dealing with this on 3.1.0 still. The fact that FK IK switching won't get baked to a single layer is quite a handicap to work with.
Member

It is closed because it is considered a "Feature request" as the Bake action tool wasn't designed to work that way, it is considered not a bug or broken. It is on the list of things that need to be addressed from the animation module and part of the NLA redesign.

It is closed because it is considered a "Feature request" as the Bake action tool wasn't designed to work that way, it is considered not a bug or broken. It is on the list of things that need to be addressed from the animation module and part of the NLA redesign.
Member
https://vimeo.com/503261365
Member

Added subscribers: @Andrej-4, @OmarEmaraDev

Added subscribers: @Andrej-4, @OmarEmaraDev
Member

Added subscriber: @Gary-Carse

Added subscriber: @Gary-Carse

I'm using the NLA editor on a small production, and I have run into this problem. It has meant rethinking our animation pipeline to exclude the use of the NLA editor.

For the record, we wanted to transfer our NLA editor timeline from one scene to another (using the same character rig), instead of reassembling the timeline of strips in the new scene file. We thought the Bake Action option was a good way to package up the keyframes of our NLA editor into one strip, which we could then append into our new scene as an action strip.

It would have been better if there was a way to append the NLA editor's timeline from one scene to another (the way an XML file works in Adobe Premier). Does anyone here have any advice on how to approach this?

Thanks
Gary

I'm using the NLA editor on a small production, and I have run into this problem. It has meant rethinking our animation pipeline to exclude the use of the NLA editor. For the record, we wanted to transfer our NLA editor timeline from one scene to another (using the same character rig), instead of reassembling the timeline of strips in the new scene file. We thought the Bake Action option was a good way to package up the keyframes of our NLA editor into one strip, which we could then append into our new scene as an action strip. It would have been better if there was a way to append the NLA editor's timeline from one scene to another (the way an XML file works in Adobe Premier). Does anyone here have any advice on how to approach this? Thanks Gary
Member

Happy to talk with you about this in the animation module chat https://blender.chat/channel/animation-module and not add noise to the issue here.

Happy to talk with you about this in the animation module chat https://blender.chat/channel/animation-module and not add noise to the issue here.

Excellent - thank you, Brad - I will speak to you over on the animation module chat.

Excellent - thank you, Brad - I will speak to you over on the animation module chat.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
12 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#65773
No description provided.