ERROR: Attempt to unbind (Surface Deform) from inactive dependency graph, when using *Redo Last* #64307

Closed
opened 2019-05-08 14:00:03 +02:00 by MACHIN3 · 9 comments

System Information
Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67

Blender Version
Broken: version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: 3dc9da3a74
Worked: 2.79

Short description of error
In an operator I add a Surface Deform mod to an object, bind it to a 2nd object and then deform that 2nd object (using Shrinkwrap).
This works, but only for the initial run of the operator, not for redoing.

Exact steps for others to reproduce the error

  • open unbind_from_inactive_depsgraph.blend
  • run the script and run the Deformer op n the 3d view
  • as intended the box is surface deformed by the plane which is shrinkwrapped
  • as soon as you use Redo Last, the terminal shows the following error, and Blender will apparently fail to re-bind the Surface Deform
 ERROR (bke.modifier): /home/sources/buildbot-x86_64-slave/linux_glibc224_x86_64_cmake/blender.git/source/blender/blenkernel/intern/modifier.c:410 modifier_setError: Attempt to unbind from inactive dependency graph

Video Demo

**System Information** Operating system: Linux-4.13.10-041310-generic-x86_64-with-debian-stretch-sid 64 Bits Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 390.67 **Blender Version** Broken: version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: `3dc9da3a74` Worked: 2.79 **Short description of error** In an operator I add a Surface Deform mod to an object, bind it to a 2nd object and then deform that 2nd object (using Shrinkwrap). This works, but only for the initial run of the operator, not for redoing. **Exact steps for others to reproduce the error** * open [unbind_from_inactive_depsgraph.blend](https://archive.blender.org/developer/F7015273/unbind_from_inactive_depsgraph.blend) * run the script and run the Deformer op n the 3d view * as intended the box is surface deformed by the plane which is shrinkwrapped * as soon as you use *Redo Last*, the terminal shows the following error, and Blender will apparently fail to re-bind the Surface Deform ``` ERROR (bke.modifier): /home/sources/buildbot-x86_64-slave/linux_glibc224_x86_64_cmake/blender.git/source/blender/blenkernel/intern/modifier.c:410 modifier_setError: Attempt to unbind from inactive dependency graph ``` [Video Demo ](https://www.youtube.com/watch?v=ZE1cJ4Zl25M)
Author

Added subscriber: @MACHIN3

Added subscriber: @MACHIN3
Author

If I throw in a Mesh Deform mod as well, there will be a new error (bind, instead of unbind)

ERROR (bke.modifier): /home/sources/buildbot-x86_64-slave/linux_glibc224_x86_64_cmake/blender.git/source/blender/blenkernel/intern/modifier.c:410 modifier_setError: Attempt to bind from inactive dependency graph

unbind_from_inactive_depsgraph2.blend

If I throw in a Mesh Deform mod as well, there will be a new error (**bind**, instead of **unbind**) ``` ERROR (bke.modifier): /home/sources/buildbot-x86_64-slave/linux_glibc224_x86_64_cmake/blender.git/source/blender/blenkernel/intern/modifier.c:410 modifier_setError: Attempt to bind from inactive dependency graph ``` [unbind_from_inactive_depsgraph2.blend](https://archive.blender.org/developer/F7015322/unbind_from_inactive_depsgraph2.blend)

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Isn't this a duplicate of #64300 ? It seems like depsgraph has issues when redoing.

Isn't this a duplicate of #64300 ? It seems like depsgraph has issues when redoing.
Author

It may be related, but I'm getting a clear error message from this one here, related to the binding/unbinding of the deformation mods, whereas I can only observe the misbehavior in the other one (and it misbehaves in a different way as well).
I think that merits a separate bug report.

If it can be fixed with a single approach, that would be great of course.

It may be related, but I'm getting a clear error message from this one here, related to the binding/unbinding of the deformation mods, whereas I can only observe the misbehavior in the other one (and it misbehaves in a different way as well). I think that merits a separate bug report. If it can be fixed with a single approach, that would be great of course.

Added subscriber: @Pinnhead

Added subscriber: @Pinnhead

I have the same error:

ERROR (bke.modifier): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\blenkernel\intern\modifier.c:410 modifier_setError: Attempt to unbind from inactive dependency graph

version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: 3dc9da3a74, type: Release
build date: 07/05/2019, 18:30
platform: Windows 10 64bit

gfx - _ Nvidia GTX 1080 Driver - 430.39

Complete system info:

https://pastebin.com/SgL40qup

I have the same error: ERROR (bke.modifier): c:\b\win64_cmake_vs2017\win64_cmake_vs2017\blender.git\source\blender\blenkernel\intern\modifier.c:410 modifier_setError: Attempt to unbind from inactive dependency graph version: 2.80 (sub 60), branch: blender2.7, commit date: 2019-05-07 19:17, hash: 3dc9da3a74ee, type: Release build date: 07/05/2019, 18:30 platform: Windows 10 64bit gfx - _ Nvidia GTX 1080 Driver - 430.39 Complete system info: https://pastebin.com/SgL40qup
Sergey Sharybin was assigned by Sebastian Parborg 2019-05-09 10:39:06 +02:00
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

Like https://developer.blender.org/T64300, this has now also been fixed by be5fd9c09f. Thank you @Sergey! Closing.

Like https://developer.blender.org/T64300, this has now also been fixed by be5fd9c09f. Thank you @Sergey! Closing.
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
3 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#64307
No description provided.