'WholeCharacter' Keying set doesn't key the whole character [due to non-editable custom property]. (Traceback error in console) #70447

Closed
opened 2019-10-02 15:29:41 +02:00 by Likkez · 13 comments

System Information
Operating system: Linux-5.0.12-050012-generic-x86_64-with-neon-18.04-bionic 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.50

Blender Version
Broken: version: 2.81 (sub 12), branch: master (modified), commit date: 2019-09-30 09:01, hash: blender/blender@56854bd177
Worked: (optional)

Short description of error
'WholeCharacter' keying set seems to randomly stop keying bones half way on some character rigs and outputs an error into the terminal.

Traceback (most recent call last):
  File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 398, in iterator
    ksi.generate(context, ks, bone)
  File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 416, in generate
    ksi.doCustomProps(ks, bone)
  File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 524, in doCustomProps
    if bone.path_resolve(prop_path, False).rna_type in prop_type_compat:
ValueError: PoseBone.path_resolve("["r_max"]") could not be resolved

wholecharacter_bug.blend
Exact steps for others to reproduce the error

  1. Open attached character file.
  2. Make sure the keying set is set to 'WholeCharacter'
  3. Insert a keyframe.
  4. Check Dope sheet editor and notice how it stops keying half way.
**System Information** Operating system: Linux-5.0.12-050012-generic-x86_64-with-neon-18.04-bionic 64 Bits Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 430.50 **Blender Version** Broken: version: 2.81 (sub 12), branch: master (modified), commit date: 2019-09-30 09:01, hash: `blender/blender@56854bd177` Worked: (optional) **Short description of error** 'WholeCharacter' keying set seems to randomly stop keying bones half way on some character rigs and outputs an error into the terminal. ``` Traceback (most recent call last): File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 398, in iterator ksi.generate(context, ks, bone) File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 416, in generate ksi.doCustomProps(ks, bone) File "/home/dmitriy/blender-git/build_linux_full/bin/2.81/scripts/startup/keyingsets_builtins.py", line 524, in doCustomProps if bone.path_resolve(prop_path, False).rna_type in prop_type_compat: ValueError: PoseBone.path_resolve("["r_max"]") could not be resolved ``` [wholecharacter_bug.blend](https://archive.blender.org/developer/F7785672/wholecharacter_bug.blend) **Exact steps for others to reproduce the error** 1. Open attached character file. 2. Make sure the keying set is set to 'WholeCharacter' 3. Insert a keyframe. 4. Check Dope sheet editor and notice how it stops keying half way.
Author

Added subscriber: @Likkez-2

Added subscriber: @Likkez-2

#71338 was marked as duplicate of this issue

#71338 was marked as duplicate of this issue
Likkez changed title from 'WholeCharacter' Keying set doesn't key the whole character. to 'WholeCharacter' Keying set doesn't key the whole character. (Traceback error in console) 2019-10-02 15:38:50 +02:00

Added subscribers: @brecht, @IsiacDaGraca

Added subscribers: @brecht, @IsiacDaGraca

@brecht i have a couple of friends with this exact issue but i think this bug is categorized wrong. It exists in 2.80 and 2.81.

@brecht i have a couple of friends with this exact issue but i think this bug is categorized wrong. It exists in 2.80 and 2.81.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed in this particular file [related to a custom property], checking...

Confirmed in this particular file [related to a custom property], checking...
Member

Added subscriber: @ideasman42

Added subscriber: @ideasman42
Member

There are a couple of custom properties marked internal [e.g. r_max on breast_L posebone]

Disabled: This property is for internal use only and can't be edited

@Likkez-2: Any idea where these are coming from? Ho was this rig built? Some Addon?

Unfortunately, we can't check if bone.path_resolve succeeds [if it cant, it throws a hard exception...]

A couple of related commits (something similar has been a problem before):
blender/blender@35fedac565
blender/blender@ee8078fb12
blender/blender@c22a1721e5
blender/blender@1a62235417
blender/blender@a35261cfee

CC @ideasman42

There are a couple of custom properties marked internal [e.g. `r_max` on `breast_L` posebone] > Disabled: This property is for internal use only and can't be edited @Likkez-2: Any idea where these are coming from? Ho was this rig built? Some Addon? Unfortunately, we can't check if `bone.path_resolve` succeeds [if it cant, it throws a hard exception...] A couple of related commits (something similar has been a problem before): blender/blender@35fedac565 blender/blender@ee8078fb12 blender/blender@c22a1721e5 blender/blender@1a62235417 blender/blender@a35261cfee CC @ideasman42
Philipp Oeser changed title from 'WholeCharacter' Keying set doesn't key the whole character. (Traceback error in console) to 'WholeCharacter' Keying set doesn't key the whole character [due to non-editable custom property]. (Traceback error in console) 2019-11-06 11:46:07 +01:00
Member

Added subscriber: @iurimonteiro

Added subscriber: @iurimonteiro
                                                                                            - I reported the same problem --------------------------------------------------[RobotRig_FPP_2.8_Rig_ForBlender.blend](https://archive.blender.org/developer/F7959240/RobotRig_FPP_2.8_Rig_ForBlender.blend)

System Information
Operating system: Windows 10 Pro 64 bits (10.0, compilation 17134)
Graphics card: AMD Ryzen 5 1500x Quad-Core Processor

Blender Version 2.8 Official release

Insert keyframe and keyframe sets keyframe locked channels and keyframeSet whole character not working well

The problem is that every time I make a keyframe he makes a key on every channel. https://imgur.com/a/DSq7GfP
Typically I use visual locations and rotation and even with the channel locked he keys the locked channels and you say well its supported because you select that keyset and he over wrights the channel. But there's no option to make a keyframe and he only keys the channels thats without the lock. The options in the menus dont work, insert only available or available keysets. If you are lost I can make it simples.
Exemple:
Arm - Loc - locked Rot- available Scale- Locked now imagine different locks for every part of the body, ones are on the locations others on the rotations and others on the scale. How do you set a keyframe for all the parts of the body that only keys channels that are not locked?

So I searched a lot and found the keyframe whole character that at first glance seem to do the job but for my surprise if you use whole character or whole character selected bones and you select all the bones on your character he only makes keyframes on the first selected bone and not on all the bones and this destroyed again a solution since I dont have patience to select all the 100 bones one by one and make a keyframe.
https://imgur.com/a/XuWZLBM - This gif ilustrated that the whole character selected bones doesn't work

Other softwares offer this solution where when you have a property channel locked you cant move, rotate or insert any type of keyframe. That keeps the channels clean and solve some tech problems.

Exemple how is suppost to work simple and clear: https://imgur.com/a/Yrc8Trc

- I reported the same problem --------------------------------------------------[RobotRig_FPP_2.8_Rig_ForBlender.blend](https://archive.blender.org/developer/F7959240/RobotRig_FPP_2.8_Rig_ForBlender.blend) System Information Operating system: Windows 10 Pro 64 bits (10.0, compilation 17134) Graphics card: AMD Ryzen 5 1500x Quad-Core Processor Blender Version 2.8 Official release Insert keyframe and keyframe sets keyframe locked channels and keyframeSet whole character not working well The problem is that every time I make a keyframe he makes a key on every channel. https://imgur.com/a/DSq7GfP Typically I use visual locations and rotation and even with the channel locked he keys the locked channels and you say well its supported because you select that keyset and he over wrights the channel. But there's no option to make a keyframe and he only keys the channels thats without the lock. The options in the menus dont work, insert only available or available keysets. If you are lost I can make it simples. Exemple: Arm - Loc - locked Rot- available Scale- Locked now imagine different locks for every part of the body, ones are on the locations others on the rotations and others on the scale. How do you set a keyframe for all the parts of the body that only keys channels that are not locked? So I searched a lot and found the keyframe whole character that at first glance seem to do the job but for my surprise if you use whole character or whole character selected bones and you select all the bones on your character he only makes keyframes on the first selected bone and not on all the bones and this destroyed again a solution since I dont have patience to select all the 100 bones one by one and make a keyframe. https://imgur.com/a/XuWZLBM - This gif ilustrated that the whole character selected bones doesn't work Other softwares offer this solution where when you have a property channel locked you cant move, rotate or insert any type of keyframe. That keeps the channels clean and solve some tech problems. Exemple how is suppost to work simple and clear: https://imgur.com/a/Yrc8Trc
Member

@iurimonteiro : the issue about Whole Character being the only keying set that actually respects locked channels would actually be good to report seperately
(it is better to stick with one issue per report)

@iurimonteiro : the issue about `Whole Character` being the only keying set that actually respects locked channels would actually be good to report seperately (it is better to stick with one issue per report)

This issue was referenced by blender/blender@4d0643a185

This issue was referenced by blender/blender@4d0643a1857ff36272a858065a0c8a28f31812c8

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sybren A. Stüvel self-assigned this 2019-12-10 15:15:35 +01:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
6 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#70447
No description provided.