Depsgraph RIGIDBODY_REBUILD failure on rendering if a scene has a PointerProperty of type collection [which is set to a collection containing rigid bodies] #105954
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
FBX
Interest
Freestyle
Interest
Geometry Nodes
Interest
glTF
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#105954
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-6.2.6-arch1-1-x86_64-with-glibc2.37 64 Bits
Graphics card: NVIDIA GeForce RTX 3070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.89.02
Blender Version
Broken: version: 3.4.1, branch: blender-v3.4-release, commit date: 2022-12-19 17:00, hash:
rB55485cb379f7
Short description of error
Hi, I am the creator of one addon for break all kinds of objects in Blender (easily).
I am having problems with the following known issue or bug when rendering my scene:
This is a problem because when you have complex fractures you have a lot of chunks that are objects, maybe 1500 or more objects, and the rendering does not start until the Trace stops showing the error message. Some complex scenes become impossible to render with this problem. Baking the sim does not resolve this.
This seems to be caused by the fact that if we have a pointer property on scenes of type collection, once these are set to a collection that actually contains a rigidbody, we are getting the mentioned depsgraph failures.
Exact steps to reproduce
repro.blend
I think you'll have to share the code that makes this fail (in a way that is easily reproducable by devs).
Can you share a blend file including the code and/or a minimal Addon that exposes this?
Also does this still occur if you bake the sim?
Scene
>Ridgid Body World
>Cache
>Bake
?Yes, I will work on a simple script to be able to share it. I will upload it as soon as I have it.
yes, even if it is baked the message is still displayed.
The .blend example scene with the script inside: https://mega.nz/file/KlgkiCbJ#SE7qTU2LyW8zcSo0zzAsD0BsgHj1ixoasdk5ucRczlM
And here the
Can confirm, only finding I have so far is that you dont even have to click the
Add Collection
button, it is enough to just choose a collection in thetarget_collections
dropdown (namely eitherRigidBodyWorld
,Zebus
orCube_low
-- whereasCamera
,Collection
orZebus_Originals
seem to be fine)OK, I got a very simple repro case now.
This seems to be caused by the fact that we have a pointer property on scenes of type collection, once these are set to a collection that actually contains a rigidbody, we are getting the mentioned depsgraph failures
repro.blend
Depsgraph ptcache: Failed for RIGIDBODY_REBUILD TRANSFORM operationto Depsgraph RIGIDBODY_REBUILD failure if a scene has a PointerProperty of type collection [which is set to a collection containing rigid bodies]Depsgraph RIGIDBODY_REBUILD failure if a scene has a PointerProperty of type collection [which is set to a collection containing rigid bodies]to Depsgraph RIGIDBODY_REBUILD failure on rendering if a scene has a PointerProperty of type collection [which is set to a collection containing rigid bodies]@Sergey or @ZedDB might be interested.