Autokey function hinders execution of drivers #95364

Closed
opened 2022-01-31 17:44:04 +01:00 by Ajlan Altug · 14 comments

System Information
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.77

Blender Version
Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: dc2d180181
Worked: Never (2.80+)

  • Open General template
  • Enable auto-keyframing in preferences for new scenes
  • Create new scene
  • Add cube
  • To Location X type #frame
  • Scrub timeline

Driver won't update

**System Information** Operating system: Windows-10-10.0.19044-SP0 64 Bits Graphics card: NVIDIA GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 466.77 **Blender Version** Broken: version: 3.0.1, branch: master, commit date: 2022-01-25 17:19, hash: `dc2d180181` Worked: Never (2.80+) - Open General template - Enable auto-keyframing in preferences for new scenes - Create new scene - Add cube - To Location X type `#frame` - Scrub timeline Driver won't update
Author

Added subscriber: @noc2

Added subscriber: @noc2
Author

Ok, this is definitely a bug!! I just reset my entire startup file and created new layouts and the problem still persists. Custom layouts do stop channel drivers from executing!

Ok, this is definitely a bug!! I just reset my entire startup file and created new layouts and the problem still persists. Custom layouts do stop channel drivers from executing!
Author

Ok, found the culprit. The "Auto Keying" button makes this happen. If you have it active by default in your prefs and/or if it's active, time based drivers will not be executed. Which is BS really, as it should have absolutely nothing to do with driver execution.

Note that this does not apply for already applied channel drivers. It basically occurs with new drivers created in a given session while auto-keying is active!

Ok, found the culprit. The "Auto Keying" button makes this happen. If you have it active by default in your prefs and/or if it's active, time based drivers will not be executed. Which is BS really, as it should have absolutely nothing to do with driver execution. Note that this does not apply for already applied channel drivers. It basically occurs with new drivers created in a given session while auto-keying is active!

Added subscriber: @iss

Added subscriber: @iss

I can reproduce issue with provided file, but not just by enabling auto keying. Can you provide steps how to recreate bad file from scratch?

I can reproduce issue with provided file, but not just by enabling auto keying. Can you provide steps how to recreate bad file from scratch?

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

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

Hi Richard. Turns out the problem stems from the autokey function itself. Go into prefs and check the option for having autokey on in all sessions. Reopen Blender and with autokey enabled, create a time based driver on any channel (#frame) You'll see that it won't work as expected, ie. it will always be zero although from the driver edit panel you'll see that the driver is able to read the current frame but can not output it. Turn off the autokey function from the UI and repeat the process on some other parameter, you'll see that this time round, the driver will work correctly and as expected.

Hi Richard. Turns out the problem stems from the autokey function itself. Go into prefs and check the option for having autokey on in all sessions. Reopen Blender and with autokey enabled, create a time based driver on any channel (#frame) You'll see that it won't work as expected, ie. it will always be zero although from the driver edit panel you'll see that the driver is able to read the current frame but can not output it. Turn off the autokey function from the UI and repeat the process on some other parameter, you'll see that this time round, the driver will work correctly and as expected.
Ajlan Altug changed title from Something in my startup blend file is hindering execution of drivers to Autokey function hinders execution of drivers 2022-02-01 04:23:25 +01:00

I can reproduce when I enable auto keyframing for new scenes. Is this option you reffer to? I don't use this feature very often.

I can reproduce when I enable auto keyframing for new scenes. Is this option you reffer to? I don't use this feature very often.

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

Changed status from 'Needs User Info' to: 'Confirmed'
Author

In #95364#1299646, @iss wrote:
I can reproduce when I enable auto keyframing for new scenes. Is this option you reffer to? I don't use this feature very often.

Yup, that's it. But you don't need to have it turned on for all sessions for the bug to occur I guess, just turning autokeying on from within the interface in every new session does cause a time based driver to not function properly afaicr. Could you also give that a whirl just to confirm?

As for Autokeying, I have it on at all times, as no animator will ever work without it switched on, in any DCC application afaik :)

> In #95364#1299646, @iss wrote: > I can reproduce when I enable auto keyframing for new scenes. Is this option you reffer to? I don't use this feature very often. Yup, that's it. But you don't need to have it turned on for all sessions for the bug to occur I guess, just turning autokeying on from within the interface in every new session does cause a time based driver to not function properly afaicr. Could you also give that a whirl just to confirm? As for Autokeying, I have it on at all times, as no animator will ever work without it switched on, in any DCC application afaik :)
Author

Hi. 3.1 release is a month ahead. Is there any chance this bug fix could be included in it?

Cheers :)

AJ

Hi. 3.1 release is a month ahead. Is there any chance this bug fix could be included in it? Cheers :) AJ
Author

Can I please have some confirmation whether the bug fix for this one has been added to 3.1 release? It is a legit confirmed bug.

Can I please have some confirmation whether the bug fix for this one has been added to 3.1 release? It is a legit confirmed bug.

Once fix is implemented, this report will be closed automatically. It would be great if it could be fixed right away, but there are about 1600 other confirmed bugs.

Once fix is implemented, this report will be closed automatically. It would be great if it could be fixed right away, but there are about 1600 other confirmed bugs.
Philipp Oeser removed the
Interest
Animation & Rigging
label 2023-02-09 14:35:13 +01:00
closing as a duplicate of [#95866: Changing the Driver while Auto Keying is on, causes new Keys on it's F-Curve](https://projects.blender.org/blender/blender/issues/95866)
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2023-10-06 14:07:06 +02: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
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#95364
No description provided.