Nodes/Avatar Graph/Object Set Is Missing
ComfyUI Node

Object Set Is Missing

The missing-link flag (usually false, and that's fine)

By avatechai·Created 3 years ago·Updated 2 years ago· 264
Object Set Is Missing
  • BPY_OBJ
  • BPY_OBJ
valuefalse

Blender has a flag for when an object's linked data has gone missing - the library file it points at was deleted or moved, and the object is left referencing something that isn't there. That flag is is_missing, and ObjectSet Is Missing is the node that sets it. It's the closest thing this pack has to a "you're imagining problems" node, because in Avatar Graph the answer is always no.

The reason is baked into how the pack runs. Avatar Graph boots a headless Blender instance and resets the scene to factory settings at the start of every graph run - a completely fresh, self-contained scene built purely from your nodes. No external .blend libraries, no linked assets, nothing that could go missing. Every object your graph creates is fully resident. So is_missing is false for everything you touch, always, and it will stay that way.

There's a second reason this node isn't a lever: is_missing is read-only in Blender's Python API. It's a fact the engine reports when a link breaks, not a switch you flip to make an object "missing." This node exists because the ObjectSet_* family is auto-generated from a dump of every property on Blender's object type, and the generator includes read-only metadata right alongside the real setters. Sometimes the exposed property is a tool; this one is a label.

How it works

Same as every sibling in the family: BPY_OBJ in, a boolean value (default false), a setattr on the underlying Blender object, and the same BPY_OBJ passed out for the next node in the chain.

Inputs that matter:

  • BPY_OBJ - the object whose status flag you're asserting
  • value - boolean, default false

Installing Avatar Graph

This node ships with the whole pack:

cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui
cd avatar-graph-comfyui && pip install -r requirements.txt

Or ComfyUI Manager → Install Custom Nodes → search Avatar Graph → restart. Pack gotchas apply: bpy==3.6.0 requires Python 3.10 (Windows users get a bundled 3.10 environment from the README; macOS/Linux should use conda), and the first launch downloads the SAM ViT-H model into ComfyUI/models/sams plus the mediapipe face/pose landmarkers.

Common issues

If you see is_missing flipped to true on an object in the embedded Blender preview, that would mean a genuinely broken reference - but in a fresh per-run scene, you won't. Don't reach for this node to "fix" a missing asset; the fix for missing data in this pack is upstream, in whatever node was supposed to load that asset. For almost everyone, this node is safe to leave out of the graph entirely.

Categoryblender

Inputs (2)

NameTypeDefaultDescription
BPY_OBJoptBPY_OBJ
valueoptBOOLEANfalse

Outputs (1)

NameTypeDescription
BPY_OBJBPY_OBJ