Maniphest T94063

Blender 3.0 drivers in constraint gone missing. But the driver but still works
Closed, Duplicate

Assigned To
None
Authored By
Ravi Prathama (Endertainer007)
Dec 14 2021, 2:05 PM
Tags
  • BF Blender
Subscribers
Georg K (georg)
Philipp Oeser (lichtwerk)
Ravi Prathama (Endertainer007)
Trung Phạm (zNight)

Description

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.

And here's how it looks like in 3.0.


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.

Here's another example.

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:


Make sure that you enable the UI script in the scripting tab.

Related Objects

Mentioned In
T94210: Driver presence not indicated on property
Mentioned Here
T93987: Disable Constraint Drivers Not Visible When Opening Older Files in 3.0
rB8b80d19f3641: Fix T88552: Cycles changing Render Passes in viewport does not work
rBb64750991334: Fix T93844: High memory usage during VSE preview
rBf1cca3055776: Blender 3.0 - version bump -> release

Event Timeline

Ravi Prathama (Endertainer007) created this task.Dec 14 2021, 2:05 PM
Ravi Prathama (Endertainer007) updated the task description.Dec 14 2021, 2:13 PM
Ravi Prathama (Endertainer007) updated the task description.Dec 14 2021, 3:14 PM
Ravi Prathama (Endertainer007) renamed this task 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.Dec 14 2021, 3:17 PM
Ravi Prathama (Endertainer007) updated the task description.Dec 14 2021, 3:40 PM
Ravi Prathama (Endertainer007) updated the task description.Dec 14 2021, 3:46 PM
Ravi Prathama (Endertainer007) added a comment.Dec 14 2021, 4:49 PM

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

And here's the Test file

Ravi Prathama (Endertainer007) renamed this task 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.Dec 14 2021, 5:03 PM
Ravi Prathama (Endertainer007) changed the task status from Needs Triage to Confirmed.Dec 15 2021, 2:24 AM
Ravi Prathama (Endertainer007) removed a subscriber: Ravi Prathama (Endertainer007).Dec 15 2021, 1:25 PM
Ravi Prathama (Endertainer007) added a subscriber: Ravi Prathama (Endertainer007).
Trung Phạm (zNight) added a subscriber: Trung Phạm (zNight).Dec 31 2021, 1:28 PM
Georg K (georg) added a subscriber: Georg K (georg).

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: rBf1cca3055776, version: 3.1.0 Alpha, branch: master, commit date: 2022-01-20 11:55, hash: rB969a571e0fbf
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

Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).Mar 29 2022, 11:19 AM
In T94063#1292232, @Georg K (georg) wrote:

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

Agree, will merge these reports