Objects with physics referred to by PointerProperty throw find_node_operation: Failed for (RIGIDBODY_REBUILD, '') when rendering #98582
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#98582
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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: Ubuntu 20.04, Windows 10
Graphics card: GeForce GTX 2080, GeForce GTX 1080
Blender Version
Broken: 3.1.2
Worked: Unknown
Short description of error
When you have a PointerProperty, and that property refers to an object that has a rigid body, the following is output to the console when rendering:
This doesn't seem to have any other adverse effects, as rendering still succeeds with the object in the correct simulated position, but these types of messages fill up the console extremely quickly.
Exact steps for others to reproduce the error
Open the following blend file, and render a frame. For some reason this requires the file to be opened via the UI.
repro2.blend
Alternatively, unzip the following and run with
blender -b --python repro.py
.repro.zip
Added subscriber: @Clockwork-Muse
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @LukasTonne
It looks to me like the render depsgraph variant is deliberately minimal, it does not include components like
TRANSFORM
component of the scene needed for pointcache updates. This makes sense, all the data is already computed when rendering.In particular there are no object components for point caches added from the scene object list itself in
DepsgraphNodeBuilder::build_scene_render
, andDepsgraphRelationBuilder::build_scene_render
complies by not trying to build relations for these components. Problem is thatDepsgraphRelationBuilder::build_idproperties
sidesteps these expectations and always tries to build full Object relations, regardless of whether it's building for view layers or for rendering. So then it tries to find theTRANSFORM
scene component inDepsgraphRelationBuilder::build_object_pointcache
(used to trigger point cache resets) and fails.Not sure what the proper solution is, maybe the relation builder should check if the nodes exist, or maybe the idproperties build function should be aware of context? another callback in
AbstractBuilderPipeline
for idprops?