Page MenuHome

Invalid driver warning - Deleting a modifier or constraint with a driver still active produces persistent warning
Closed, DuplicatePublic

Description

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: rB9e64fd461ac3
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