Enabling object disables subsurf modifier from other one #66010

Closed
opened 2019-06-22 01:34:44 +02:00 by Michael Soluyanov · 20 comments

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: 197661c733

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.

2019-06-22 02-02-14.mp4

Exact steps for others to reproduce the error

  1. unpack zip file, open scenes/10/10-3.blend
    test.zip
  2. enable / disable "son complite" object. I will see, that object "car" will change shape
  3. You can test same issue in render.
  4. Enable "son complite" and "Cube" now subsurf modifier is active
**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: `197661c733` **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. [2019-06-22 02-02-14.mp4](https://archive.blender.org/developer/F7443633/2019-06-22_02-02-14.mp4) **Exact steps for others to reproduce the error** 1. unpack zip file, open scenes/10/10-3.blend [test.zip](https://archive.blender.org/developer/F7443632/test.zip) 2. enable / disable "son complite" object. I will see, that object "car" will change shape 3. You can test same issue in render. 3. Enable "son complite" and "Cube" now subsurf modifier is active
Author
Member

Added subscriber: @crantisz

Added subscriber: @crantisz

Added subscribers: @mont29, @ZedDB

Added subscribers: @mont29, @ZedDB
Bastien Montagne was assigned by Sebastian Parborg 2019-06-24 11:41:03 +02:00

@mont29 any idea what is going on?

@mont29 any idea what is going on?

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.

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.
Author
Member

I fail to make a more simplified example

I fail to make a more simplified example

@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.

@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.

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.

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.

Added subscriber: @brecht

Added subscriber: @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.

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.
Author
Member

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

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

simplified as much I can:

test1.zip

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

simplified as much I can: [test1.zip](https://archive.blender.org/developer/F7562143/test1.zip) 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

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

The files has indeed been stripped down further, but I guess it is up to @mont29 to decide what to do now.
Bastien Montagne removed their assignment 2019-07-31 16:39:51 +02:00

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. ;)

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. ;)

Added subscriber: @dr.sybren

Added subscriber: @dr.sybren

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'

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.

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.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

@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.

@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.
Author
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Michael Soluyanov self-assigned this 2020-02-18 16:04:19 +01:00
Author
Member

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?

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?
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
6 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#66010
No description provided.