Maniphest T66010

Enabling object disables subsurf modifier from other one
Closed, Archived

Assigned To
Michael Soluyanov (crantisz)
Authored By
Michael Soluyanov (crantisz)
Jun 22 2019, 1:34 AM
Tags
  • BF Blender
Subscribers
Bastien Montagne (mont29)
Brecht Van Lommel (brecht)
Julian Eisel (Severin)
Michael Soluyanov (crantisz)
Sebastian Parborg (zeddb)
Sybren A. Stüvel (sybren)

Description

System Information
Operating system: Linux-4.15.0-52-generic-x86_64-with-debian-buster-sid 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.116

Blender Version
Broken: version: 2.80 (sub 74), branch: master, commit date: 2019-06-20 22:36, hash: rB197661c7334d

Short description of error
It's looks like dependency cycle issue, but i don't find this type errors in terminal.

When I enable one object in viewport/render, it disables subsurf modifier from other one.
Both objects are linked from other different files, object this that subsurf modifier linked indirectly from same file, but from different scene.
Proxy armatures have dependencies via Child of constraint. One armature was removed in case of minimum size. When i try to make an object with this constraint, issue fixes.

Exact steps for others to reproduce the error

  1. unpack zip file, open scenes/10/10-3.blend

  1. enable / disable "son complite" object. I will see, that object "car" will change shape
  2. You can test same issue in render.
  3. Enable "son complite" and "Cube" now subsurf modifier is active

Event Timeline

Michael Soluyanov (crantisz) created this task.Jun 22 2019, 1:34 AM
Sebastian Parborg (zeddb) assigned this task to Bastien Montagne (mont29).Jun 24 2019, 11:41 AM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.
Sebastian Parborg (zeddb) added subscribers: Bastien Montagne (mont29), Sebastian Parborg (zeddb).

@Bastien Montagne (mont29) any idea what is going on?

Bastien Montagne (mont29) lowered the priority of this task from 50 to 30.Jun 24 2019, 4:47 PM

No I don’t, and this not exactly a 'simple' file, there are hundreds of objects there, with bunch of complicated relations… Please try to reproduce the same issue with a pair of cubes, rigs, and lib files. Otherwise it will take hours just to understand what is supposed to happen here.
And please give a clear description of the relations between the problematic objects, too.

Michael Soluyanov (crantisz) added a comment.Jun 25 2019, 9:43 AM

I fail to make a more simplified example

Sebastian Parborg (zeddb) raised the priority of this task from 30 to 50.Jul 1 2019, 10:47 AM

@Bastien Montagne (mont29) Both Brecht and I took a quick look at this and we can't either figure out a way to simplify it.
Sure we could make the linked geometry simple. But it doesn't seem like it is the mesh complexity that is causing this.

Bastien Montagne (mont29) lowered the priority of this task from 50 to Low.Jul 1 2019, 10:51 AM

that seems to be a very weird corner case then, and diving into it is gonna take ages, so setting to low prio for now.

Brecht Van Lommel (brecht) raised the priority of this task from Low to 30.EditedJul 1 2019, 11:05 AM
Brecht Van Lommel (brecht) added a subscriber: Brecht Van Lommel (brecht).

I just had a look at the .blend files, and I really don't believe it's not possible to make this simpler. I can easily remove many objects, bones, drivers, keyframes, .. in the linked files while still reproducing the problem.

So please, simplify the file.

Michael Soluyanov (crantisz) added a comment.Jul 2 2019, 4:54 PM

interesting... I can't remove some data... I think i should make an new report for that...

Michael Soluyanov (crantisz) added a comment.EditedJul 2 2019, 5:19 PM

simplified as much I can:

Some data can't be removed because of https://developer.blender.org/T66345 Then I try to copy paste armature to new file, bug doesn't reproduce

Brecht Van Lommel (brecht) raised the priority of this task from 30 to 90.Jul 3 2019, 5:21 PM
Sebastian Parborg (zeddb) lowered the priority of this task from 90 to 50.Jul 4 2019, 10:30 AM

The files has indeed been stripped down further, but I guess it is up to @Bastien Montagne (mont29) to decide what to do now.

Bastien Montagne (mont29) removed Bastien Montagne (mont29) as the assignee of this task.Jul 31 2019, 4:39 PM

Am definitively not going to to spend more time on this. This is a weird mix of linked stuff, using regular subsurf modifier and Cycles subdiv one (which is not supposed to happen, it's either one or the other). Thing is, Cycles subdiv is tagged as experimental, I guess there is something badly handled here in linked data case? The way it's replacing actual modifier is weird and fragile anyway.

That's not really my area either, so if other devs want to have a look, they are welcome. ;)

Dalai Felinto (dfelinto) added a project: Tracker Curfew.Dec 23 2019, 4:34 PM
Sybren A. Stüvel (sybren) changed the task status from Confirmed to Needs Information from User.Feb 6 2020, 6:08 PM
Sybren A. Stüvel (sybren) added a subscriber: Sybren A. Stüvel (sybren).

Opening the blend file gives me lots of errors:

Read blend: /home/sybren/workspace/blender-git/tracker/T66010-subsurf-disables/scenes/10/sc10-3.blend
Info: Read library:  '/home/sybren/workspace/blender-git/tracker/T66010-subsurf-disables/props/car.blend', '//../../props/car.blend', parent '<direct>'
Warning: LIB: Object: 'Car armature' missing from '/home/sybren/workspace/blender-git/tracker/T66010-subsurf-disables/props/car.blend', parent '<direct>'
Warning: LIB: Armature: 'Armature' missing from '/home/sybren/workspace/blender-git/tracker/T66010-subsurf-disables/props/car.blend', parent '<direct>'
Info: Read library:  '/home/sybren/workspace/blender-git/tracker/T66010-subsurf-disables/chars/Father.blend', '//../../chars/Father.blend', parent '<direct>'
find_node_operation: Failed for (BONE_DONE, '')
add_relation(Child Of) - Could not find op_from (OperationKey(type: BONE, component name: 'root.001', operation code: BONE_DONE))
add_relation(Child Of) - Failed, but op_to (OperationKey(type: BONE, component name: 'hand_ik.L', operation code: BONE_CONSTRAINTS)) was ok
ERROR (bke.anim_sys): /home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - pose.bones["MCH-hand_ik_socket.R"].constraints["Copy Transforms.001"].influence[0]
ERROR (bke.anim_sys): /home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - pose.bones["MCH-jaw_master.002"].constraints["Copy Transforms.001"].influence[0]
ERROR (bke.anim_sys): /home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - pose.bones["MCH-hand_pole_ik_socket.R"].constraints["Copy Transforms.001"].mute[0]
ERROR (bke.anim_sys): /home/sybren/workspace/blender-git/blender/source/blender/blenkernel/intern/anim_sys.c:4160 BKE_animsys_eval_driver: invalid driver - pose.bones["MCH-hand_pole_ik_socket.R"].constraints["Copy Transforms"].mute[0]
[... trimmed lots of other invalid driver errors ...]

Apart from the errors, there are cameras in different files that don't contribute to the issue, extra windows and workspaces that are not relevant, and I'm fairly sure there is more that can be removed. This is not a file we can use to debug this issue.

Aaron Carlisle (Blendify) removed a project: Tracker Curfew.Feb 10 2020, 10:14 PM
Julian Eisel (Severin) added a subscriber: Julian Eisel (Severin).EditedFeb 18 2020, 2:55 PM

@Michael Soluyanov (crantisz) we usually close reports after a week without reply if information/action was requested. You've just submitted some patches, so I'll assume this was just an oversight and leave it at a friendly poke for now :)
What was requested is that you try to remove any additional data from the .blend file that is not needed to reproduce the issue. Remove all irrelevant workspaces, windows, cameras etc. That may be hugely helpful to pinpoint the issue.

Michael Soluyanov (crantisz) closed this task as Archived.Feb 18 2020, 4:04 PM
Michael Soluyanov (crantisz) claimed this task.

As I said, I failed to make example from scratch. I think this issue produced by early beta versions of 2.80 and can't be reproduced from newer versions. So maybe it can be closed as invalid?