Drivers dont work in renders #79152

Closed
opened 2020-07-22 00:38:09 +02:00 by Przemysław Rumiński · 9 comments

System Information
Operating system: WINDOWS 10
Graphics card: NIVIDIA GeForce GTX 1050 Ti

Blender Version
Broken: (2.83)
Worked: (sadly i dont know)

Short description of error
Local z rotation of one bone drives the local z location of a different bone, z location doesnt change in the final render (everything works fine in the viewport)
Exact steps for others to reproduce the error

delete the cube, add bone, rotate it by (x) 90 degrees, extrude on the z axis downwards, add a plane on the connection between the bones, extrude it downward, parent that plane to the bone.001, add a driver to the z location on the first bone, any expression, object: armature ; bone: bone.001 ; type: z rotation ; space: local space (everything else is default) animate the bone.001 rotating on the local z axis{F8712356}, render 

Based on the default startup or an attached .blend file (as simple as possible).

**System Information** Operating system: WINDOWS 10 Graphics card: NIVIDIA GeForce GTX 1050 Ti **Blender Version** Broken: (2.83) Worked: (sadly i dont know) **Short description of error** Local z rotation of one bone drives the local z location of a different bone, z location doesnt change in the final render (everything works fine in the viewport) **Exact steps for others to reproduce the error** ``` delete the cube, add bone, rotate it by (x) 90 degrees, extrude on the z axis downwards, add a plane on the connection between the bones, extrude it downward, parent that plane to the bone.001, add a driver to the z location on the first bone, any expression, object: armature ; bone: bone.001 ; type: z rotation ; space: local space (everything else is default) animate the bone.001 rotating on the local z axis{F8712356}, render ``` Based on the default startup or an attached .blend file (as simple as possible).

Added subscriber: @BENOM

Added subscriber: @BENOM

Added subscriber: @bent

Added subscriber: @bent

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Please upload example file

Please upload example file

bug.blend Oh sorry I thought I attached it

[bug.blend](https://archive.blender.org/developer/F8713282/bug.blend) Oh sorry I thought I attached it

As far as I can tell you've got a dependency cycle because bone relies on bone.001, which itself relies on bone, because it it bone's child. It seems that Blender doesn't check which properties depend on each other, but only which objects do (I've tried uparenting them and adding a copy location constraint on bone.001).

bug.blend

I've had a similar issue a week ago .

As far as I can tell you've got a dependency cycle because bone relies on bone.001, which itself relies on bone, because it it bone's child. It seems that Blender doesn't check which properties depend on each other, but only which objects do (I've tried uparenting them and adding a copy location constraint on bone.001). [bug.blend](https://archive.blender.org/developer/F8713668/bug.blend) I've had a similar issue [a week ago ](https://developer.blender.org/T78893).

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Richard Antalik self-assigned this 2020-07-23 04:16:16 +02:00

Indeed there is dependency cycle (in system console)

Dependency cycle detected:
  OBArmature/Bone/BONE_LOCAL() depends on
  OBArmature/Parameters Component/DRIVER(pose.bones["Bone"].location) via 'Driver -> Driven Property'
  OBArmature/Bone.001/BONE_DONE() via 'Bone Target -> Driver'
  OBArmature/Bone.001/BONE_READY() via 'Ready -> Done'
  OBArmature/Bone.001/BONE_POSE_PARENT() via 'Pose -> Ready'
  OBArmature/Bone/BONE_DONE() via 'Parent Bone -> Child Bone'
  OBArmature/Bone/BONE_READY() via 'Ready -> Done'
  OBArmature/Bone/BONE_POSE_PARENT() via 'Pose -> Ready'
  OBArmature/Bone/BONE_LOCAL() via 'Bone Local - Bone Pose'
Detected 1 dependency cycles

You have to resolve this to render result correctly

Indeed there is dependency cycle (in system console) ``` Dependency cycle detected: OBArmature/Bone/BONE_LOCAL() depends on OBArmature/Parameters Component/DRIVER(pose.bones["Bone"].location) via 'Driver -> Driven Property' OBArmature/Bone.001/BONE_DONE() via 'Bone Target -> Driver' OBArmature/Bone.001/BONE_READY() via 'Ready -> Done' OBArmature/Bone.001/BONE_POSE_PARENT() via 'Pose -> Ready' OBArmature/Bone/BONE_DONE() via 'Parent Bone -> Child Bone' OBArmature/Bone/BONE_READY() via 'Ready -> Done' OBArmature/Bone/BONE_POSE_PARENT() via 'Pose -> Ready' OBArmature/Bone/BONE_LOCAL() via 'Bone Local - Bone Pose' Detected 1 dependency cycles ``` You have to resolve this to render result correctly
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
3 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#79152
No description provided.