Invalid driver warning - Deleting a modifier or constraint with a driver still active produces persistent warning #89811

Closed
opened 2021-07-12 12:01:08 +02:00 by Marcus Krupa · 6 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89

Blender Version
Broken: version: 2.93.2 Release Candidate, branch: master, commit date: 2021-07-07 05:52, hash: 9e64fd461a
Present in all version I've tried, from 2.93.0 to current (21-07-12) 3.0 Alpha

Short description of error
Deleting a modifier or constraint with a driver still active produces persistent warning:

anim_sys.c:3132 BKE_animsys_eval_driver: invalid driver

To get rid of said warning, which persists between sessions, you have to recreate a modifier/constraint of the same type, (which will then still have the driver present), delete driver, then delete the modifier/constraint. (Or delete object)

Really pernicious warning, since it references a modifier/constraint that the user has deleted and can't find anymore.

Exact steps for others to reproduce the error

  • Create modifier/constraint
  • Create a driver which drives a value in modifier/constraint
  • Delete said modifier/constraint by clicking the X icon on said modifier/constraint
    eval_driver_bug_a01.mp4
**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 465.89 **Blender Version** Broken: version: 2.93.2 Release Candidate, branch: master, commit date: 2021-07-07 05:52, hash: `9e64fd461a` Present in all version I've tried, from 2.93.0 to current (21-07-12) 3.0 Alpha **Short description of error** Deleting a modifier or constraint with a driver still active produces persistent warning: anim_sys.c:3132 BKE_animsys_eval_driver: invalid driver To get rid of said warning, which persists between sessions, you have to recreate a modifier/constraint of the same type, (which will then still have the driver present), delete driver, *then* delete the modifier/constraint. (Or delete object) Really pernicious warning, since it references a modifier/constraint that the user has deleted and can't find anymore. **Exact steps for others to reproduce the error** - Create modifier/constraint - Create a driver which drives a value in modifier/constraint - Delete said modifier/constraint by clicking the X icon on said modifier/constraint [eval_driver_bug_a01.mp4](https://archive.blender.org/developer/F10221464/eval_driver_bug_a01.mp4)
Author

Added subscriber: @marcus-13

Added subscriber: @marcus-13
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

This is essentially the same as #89679 (Animation channels do not get removed from action when according modifier/constraint is deleted), please read #89679 for design considerations.
In short: this is not considered a bug, will merge these reports.

This is essentially the same as #89679 (Animation channels do not get removed from action when according modifier/constraint is deleted), please read #89679 for design considerations. In short: this is not considered a bug, will merge these reports.
Member

Closed as duplicate of #89679

Closed as duplicate of #89679

Added subscriber: @RomboutVersluijs

Added subscriber: @RomboutVersluijs

Ive noticed this same behavior when i opened a file created in bl2.93.5 from windows on my osx machine using 2.83. I know it warns me for compatibility and such, but seeing this issue has been stated couple times here in devtalk. I thought i would add this comment.

What i noticed is that when i preview the bend modifier in the 3dview all looks fine. But when i do a render or animation render, then i see this warning.

Same as @marcus-13 stated, only way to salve this is to delete all drivers and rebuild everything. Not really ideal! But i guess this would be seen as a backward compatibility issue perhaps. Im not sure if it the modifier being different though. The error is about the driver, but that driver menu looks exactly the same as on 2.93.5

bned modifier issue bl293 > bl283.png

Ive noticed this same behavior when i opened a file created in bl2.93.5 from windows on my osx machine using 2.83. I know it warns me for compatibility and such, but seeing this issue has been stated couple times here in devtalk. I thought i would add this comment. What i noticed is that when i preview the bend modifier in the 3dview all looks fine. But when i do a render or animation render, then i see this warning. Same as @marcus-13 stated, only way to salve this is to delete all drivers and rebuild everything. Not really ideal! But i guess this would be seen as a backward compatibility issue perhaps. Im not sure if it the modifier being different though. The error is about the driver, but that driver menu looks exactly the same as on 2.93.5 ![bned modifier issue bl293 > bl283.png](https://archive.blender.org/developer/F11794457/bned_modifier_issue_bl293___bl283.png)
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#89811
No description provided.