Blender 3.0 drivers in constraint gone missing. But the driver but still works #94063

Closed
opened 2021-12-14 14:05:14 +01:00 by Ravi Prathama · 11 comments

Operating system: Windows 10
Graphics card: Nvidia Quadro K2100M (But I mostly use CPU)

Broken: 3.0, f1cca30557, master, 2021-12-02 18:35 (It also happened in 3.1, b647509913, 2021-12-13 23:43)
Worked: 2.93, 8b80d19f36, master, 2021-08-17 18:30

So I have a rig that I made in 2.93 that I recently just updated to 3.0. And in that rig, I have a driver that toggles a constraint on or off. At first, everything went fine until I realized that the driver had gone missing. And the weird thing is that everything seems to work fine as if the drivers were there. And when I tried to open the rig file in 2.93, the driver is there.

Let's take the Eye bone. This is how the constraint should look like in 2.93.
blender_ZbT3IgnGiC.png

And here's how it looks like in 3.0.
blender_4FFrSqQB77.png
As you can see, the driver on the Transform constraint somehow disappears. But the weird thing is that that driver still works like normal.
Also, when I open the driver in the Driver Editor. The driver is available and could be edited.
blender_KU9rtAMLiS.png

Here's another example.
blender_HFUO34Lpee.png

I tried opening an older version of the rig in 3.0 and the problem is still there. It only disappears when I open the rig in 2.93.
Also, not every driver went missing. There is a driver that is still visible, but this is because I just recently added it in 3.0. And this bug seems to only affect the constraints since the modifiers aren't affected.

Here's my rig file:
SS EndEdit R4 Exp v13.6 (New 2D Face Controls).blend
Make sure that you enable the UI script in the scripting tab.

Operating system: Windows 10 Graphics card: Nvidia Quadro K2100M (But I mostly use CPU) Broken: 3.0, f1cca3055776, master, 2021-12-02 18:35 (It also happened in 3.1, b64750991334, 2021-12-13 23:43) Worked: 2.93, 8b80d19f3641, master, 2021-08-17 18:30 So I have a rig that I made in 2.93 that I recently just updated to 3.0. And in that rig, I have a driver that toggles a constraint on or off. At first, everything went fine until I realized that the driver had gone missing. And the weird thing is that everything seems to work fine as if the drivers were there. And when I tried to open the rig file in 2.93, the driver is there. Let's take the Eye bone. This is how the constraint should look like in 2.93. ![blender_ZbT3IgnGiC.png](https://archive.blender.org/developer/F12739344/blender_ZbT3IgnGiC.png) And here's how it looks like in 3.0. ![blender_4FFrSqQB77.png](https://archive.blender.org/developer/F12739346/blender_4FFrSqQB77.png) As you can see, the driver on the Transform constraint somehow disappears. But the weird thing is that that driver still works like normal. Also, when I open the driver in the Driver Editor. The driver is available and could be edited. ![blender_KU9rtAMLiS.png](https://archive.blender.org/developer/F12739481/blender_KU9rtAMLiS.png) Here's another example. ![blender_HFUO34Lpee.png](https://archive.blender.org/developer/F12739441/blender_HFUO34Lpee.png) I tried opening an older version of the rig in 3.0 and the problem is still there. It only disappears when I open the rig in 2.93. Also, not every driver went missing. There is a driver that is still visible, but this is because I just recently added it in 3.0. And this bug seems to only affect the constraints since the modifiers aren't affected. Here's my rig file: [SS EndEdit R4 Exp v13.6 (New 2D Face Controls).blend](https://archive.blender.org/developer/F12739360/SS_EndEdit_R4_Exp_v13.6__New_2D_Face_Controls_.blend) Make sure that you enable the UI script in the scripting tab.
Author

Added subscriber: @Endertainer007-3

Added subscriber: @Endertainer007-3
Ravi Prathama changed title from Blender 3.0 some drviers gone missing but still works to Blender 3.0 drviers in constraint gone missing. But the driver but still works 2021-12-14 15:17:27 +01:00
Author

So I just experimented to replicate this bug.

In this experiment, I have a cube with a wireframe modifier and a Transform constraint. This cube also has two custom properties that act as a switch for the modifier & constraint. In Blender 2.93, both custom properties switch the modifier & constraint like normal. And the driver in both modifier & constraint can be right-clicked and edited. But when the same file was opened in 3.0, the driven in the Transform constraint somehow disappear. And the weird thing is that the constraint acts like the driver is still there, it even appears in the Driver Editor, but not in the constraint itself.

Here's a video on the experiment
3.0 Constraint Driver Bug Test.mp4

And here's the Test file
3.0 Driver Bug Test.blend

So I just experimented to replicate this bug. In this experiment, I have a cube with a wireframe modifier and a Transform constraint. This cube also has two custom properties that act as a switch for the modifier & constraint. In Blender 2.93, both custom properties switch the modifier & constraint like normal. And the driver in both modifier & constraint can be right-clicked and edited. But when the same file was opened in 3.0, the driven in the Transform constraint somehow disappear. And the weird thing is that the constraint acts like the driver is still there, it even appears in the Driver Editor, but not in the constraint itself. Here's a video on the experiment [3.0 Constraint Driver Bug Test.mp4](https://archive.blender.org/developer/F12739810/3.0_Constraint_Driver_Bug_Test.mp4) And here's the Test file [3.0 Driver Bug Test.blend](https://archive.blender.org/developer/F12739836/3.0_Driver_Bug_Test.blend)
Ravi Prathama changed title from Blender 3.0 drviers in constraint gone missing. But the driver but still works to Blender 3.0 drivers in constraint gone missing. But the driver but still works 2021-12-14 17:03:42 +01:00
Author

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Author

Removed subscriber: @Endertainer007-3

Removed subscriber: @Endertainer007-3
Author

Added subscriber: @Endertainer007-3

Added subscriber: @Endertainer007-3

Added subscriber: @zNight

Added subscriber: @zNight

Added subscriber: @georgK

Added subscriber: @georgK

This seems to be a duplicate of https://developer.blender.org/T93987

This regression not only applies to drivers but also keyframes:

System Information
Operating system: Linux-5.15.12-1-MANJARO-x86_64-with-glibc2.33 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.15.12-1-MANJARO, LLVM 13.0.0) AMD 4.5 (Core Profile) Mesa 21.3.2

Blender Version
Broken: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557, version: 3.1.0 Alpha, branch: master, commit date: 2022-01-20 11:55, hash: 969a571e0f
Worked: 2.93

Short description of error
Opening a 2.93 file in 3.0 or later:
Although the animation still works, the eye icon for the Enabled/Disabled property of constraints looses it's yellow/green/orange coloring. So you don't see that the property is animated.
Also, Delete/Clear keyframes is missing from the context menu, using insert keyframe creates a new f-curve instead of inserting the keyframes in the existing f-curve.
The reason for this issue might be that the corresponding f-curve was called "Disable ..." in 2.93, but "Enabled ..." in 3.0.

Exact steps for others to reproduce the error
In the default scene of blender 2.93,
select the camera, add a Track To constraint,
hover the cursor over the eye icon, press I
save and open in Blender 3.0 or 3.1
the yellow highlight is not shown

This seems to be a duplicate of https://developer.blender.org/T93987 This regression not only applies to drivers but also keyframes: **System Information** Operating system: Linux-5.15.12-1-MANJARO-x86_64-with-glibc2.33 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.15.12-1-MANJARO, LLVM 13.0.0) AMD 4.5 (Core Profile) Mesa 21.3.2 **Blender Version** Broken: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: `f1cca30557`, version: 3.1.0 Alpha, branch: master, commit date: 2022-01-20 11:55, hash: `969a571e0f` Worked: 2.93 **Short description of error** Opening a 2.93 file in 3.0 or later: Although the animation still works, the eye icon for the Enabled/Disabled property of constraints looses it's yellow/green/orange coloring. So you don't see that the property is animated. Also, Delete/Clear keyframes is missing from the context menu, using insert keyframe creates a new f-curve instead of inserting the keyframes in the existing f-curve. The reason for this issue might be that the corresponding f-curve was called "Disable ..." in 2.93, but "Enabled ..." in 3.0. **Exact steps for others to reproduce the error** In the default scene of blender 2.93, select the camera, add a Track To constraint, hover the cursor over the eye icon, press I save and open in Blender 3.0 or 3.1 the yellow highlight is not shown
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

In #94063#1292232, @georgK wrote:
This seems to be a duplicate of https://developer.blender.org/T93987

Agree, will merge these reports

> In #94063#1292232, @georgK wrote: > This seems to be a duplicate of https://developer.blender.org/T93987 Agree, will merge these reports
Member

Closed as duplicate of #93987

Closed as duplicate of #93987
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#94063
No description provided.