Snow character rig has invalid dependencies, leading to evaluation failures in some cases #108581

Closed
opened 2023-06-04 20:53:08 +02:00 by Gamame · 8 comments

System Information
Operating system: Linux-5.15.0-73-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.41.03

Blender Version
Broken: 3.0 to 4.0
Worked: never?

Short description of error
I tried to use the Snow character, following the guidelines. But every time I use the Libary Override, the character's eyebrows and neck get stretched and distorted. When the bug does not happen at the time, when saving and reopening the file it appears

Exact steps for others to reproduce the error

  • Link the CH-snow collection
  • Object -> Relations -> Make Library Override
  • Save file then reopen it
**System Information** Operating system: Linux-5.15.0-73-generic-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 530.41.03 **Blender Version** Broken: 3.0 to 4.0 Worked: never? **Short description of error** I tried to use the Snow character, following the guidelines. But every time I use the Libary Override, the character's eyebrows and neck get stretched and distorted. When the bug does not happen at the time, when saving and reopening the file it appears **Exact steps for others to reproduce the error** - Link the CH-snow collection - Object -> Relations -> Make Library Override - Save file then reopen it
Gamame added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-06-04 20:53:09 +02:00
Member

Thanks for the report. I can confirm in 3.1, 4.0
cc @mont29 , @Mets

Thanks for the report. I can confirm in 3.1, 4.0 cc @mont29 , @Mets
Pratik Borhade changed title from Library Override broken to Library Override broken for Snow character rig 2023-06-05 11:21:21 +02:00
Bastien Montagne added
Status
Needs Information from User
Interest
Core
and removed
Module
Core
Status
Confirmed
labels 2023-06-05 13:45:55 +02:00

There are several depsgraph error message there too... Not so sure about the status of this character (assuming you used the latest version, .002 ?).

Would not consider this as an acceptable bug report anyway, unless studio (rigger) investigate this character and do find a problem related to liboverrides.

There are several depsgraph error message there too... Not so sure about the status of this character (assuming you used the latest version, .002 ?). Would not consider this as an acceptable bug report anyway, unless studio (rigger) investigate this character and do find a problem related to liboverrides.
Bastien Montagne added
Interest
Animation & Rigging
and removed
Interest
BlendFile
labels 2023-06-05 13:47:04 +02:00
Member

assuming you used the latest version, .002 ?

yes, v2.

> assuming you used the latest version, .002 ? yes, v2.
Member

I never could reproduce this issue and still can't, in 3.6.5 stable.

Video of me linking, overriding and posing Snow_v2, as downloaded from the website moments before recording.

Edit: Also tried saving and reloading, works fine in 3.6.5 and latest 4.1 as well.

I never could reproduce this issue and still can't, in 3.6.5 stable. Video of me linking, overriding and posing Snow_v2, as downloaded from the website moments before recording. <video src="/attachments/e4bfbe2e-ef66-407e-8d9b-f23e55d9e3a0" title="2023-12-15 14-50-53.mp4" controls></video> Edit: Also tried saving and reloading, works fine in 3.6.5 and latest 4.1 as well.
Member

Can still redo this (recently we received report on 4.0.1 release : #115917)

**System Information**
Operating system: Windows-10-10.0.22631-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01
Can still redo this (recently we received report on 4.0.1 release : #115917) ``` **System Information** Operating system: Windows-10-10.0.22631-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 546.01 ```
Bastien Montagne removed the
Interest
Core
label 2023-12-29 16:00:54 +01:00

Sigh... I indeed can still confirm the problem... Since nobody else wants to look at it, I had another deeper look into it. Once again, I'm fairly convinced that the problem is in evaluation, due to bad dependency issues for the depsgraph. Console is filled with messages like:

Failed to add relation "Floor"
Could not find op_from: OperationKey(type: BONE, component name: 'ORG-Eyebrow0.L', operation code: BONE_DONE)

Trace:

Depth    Type                     Name
-----    ----                     ----
1        Object                   META-Snow
2        Object                   RIG-Snow
3        Pose Channel             ORG-LTC-Cheek.L
4        Object                   LTC-snow_cheek.L
5        Object                   RIG-Snow
6        Pose Channel             Eyebrow0_1.L
7        Constraint               Floor

find_node_operation: Failed for (BONE_DONE, '')

Investigating the overridden char itself, I found out that several bones are severely offset compared to their expected location, e.g. Eyebrow0_1.L gets pushed towards the left arm, leading to the extreme left eyebrow deform.

Disabling/enabling again its 'Floor' constraint 'fixes' to problem.

Note that some of these warnings are also shown when opening the original Snow_v2 file, so... As I said before, rig needs to be fixed first.

Sigh... I indeed can still confirm the problem... Since nobody else wants to look at it, I had another deeper look into it. Once again, I'm fairly convinced that the problem is in evaluation, due to bad dependency issues for the depsgraph. Console is filled with messages like: ``` Failed to add relation "Floor" Could not find op_from: OperationKey(type: BONE, component name: 'ORG-Eyebrow0.L', operation code: BONE_DONE) Trace: Depth Type Name ----- ---- ---- 1 Object META-Snow 2 Object RIG-Snow 3 Pose Channel ORG-LTC-Cheek.L 4 Object LTC-snow_cheek.L 5 Object RIG-Snow 6 Pose Channel Eyebrow0_1.L 7 Constraint Floor find_node_operation: Failed for (BONE_DONE, '') ``` Investigating the overridden char itself, I found out that several bones are severely offset compared to their expected location, e.g. `Eyebrow0_1.L` gets pushed towards the left arm, leading to the extreme left eyebrow deform. Disabling/enabling again its 'Floor' constraint 'fixes' to problem. Note that some of these warnings are also shown when opening the original Snow_v2 file, so... As I said before, rig needs to be fixed first.
Bastien Montagne changed title from Library Override broken for Snow character rig to Snow character rig has invalid dependencies, leading to evaluation failures in some cases 2023-12-29 16:05:40 +01:00
Member

I uploaded a new version (v3) of Snow to the website with the invalid constraints removed.

Meant to upload this when I made my previous comment, but website was broken at the time.

I uploaded a [new version (v3) of Snow](https://studio.blender.org/characters/snow/v3/) to the website with the invalid constraints removed. Meant to upload this when I made my previous comment, but website was broken at the time.

Can confirm that with v3 there are no more warnings in the console, and I cannot reproduce any issue anymore.

Can confirm that with `v3` there are no more warnings in the console, and I cannot reproduce any issue anymore.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2024-01-02 12:48:20 +01:00
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
4 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#108581
No description provided.