﻿# OpenUSD payloads: verify the loaded working set before rendering a dataset

Keep OpenUSD render exports complete for the intended scene by recording payload load rules, composed working-set state and the required geometry inventory.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-openusd-payload-working-set-render-completeness/
Language: en

## Define the intended scene working set

A large scene can expose its assembly structure while deferring heavier contents. This is useful for managing a worker's memory, but it changes what a renderer or exporter can currently inspect. Before generating a synthetic dataset, define the geometry and asset branches required for each sample. A successful stage open establishes access to a composed scene description under particular settings; it does not by itself establish that the intended full rendering contents are present.

## Understand deferred payload inclusion

The [OpenUSD glossary](https://openusd.org/release/glossary.html) distinguishes payloads, references and scene composition. Payloads support load management, allowing heavyweight contents to be excluded from the active working set. Do not diagnose every absent descendant as a broken mesh importer. First inspect whether its contributing payload is intentionally unloaded. Keep missing files, inactive prims, visibility decisions and deferred loading as separate diagnostic causes because they require different corrections and can produce similar-looking empty regions in an image.

## Preserve the effective load rules

The [load-rule reference](https://openusd.org/release/api/class_usd_stage_load_rules.html) describes rules governing payload inclusion, including descendant handling. Record those rules with the job rather than relying on a worker's default or an earlier interactive session. Two jobs opening the same root layer can have different working sets. A dataset manifest should identify the intended load policy so replay does not accidentally add or omit an asset branch while leaving the root filename unchanged.

## Inspect stage state after loading

The [stage API](https://openusd.org/release/api/class_usd_stage.html) provides working-set load and unload operations and describes their constraints. Verify the required scene branches after applying the intended policy, including assets needed by labels or auxiliary passes. An exporter should not infer completeness solely from a nonempty traversal. Some correctly loaded content may be outside the task's intended subset, while a small missing payload can remove the object that defines the sample's ground truth.

## Compare a known deferred asset

Create a diagnostic assembly with a clearly recognizable payload and compare the intended loaded and unloaded states. Check rendered geometry and exported labels against a declared asset inventory. The guides to [renderer compatibility](/journal/gpu-llm-renderer-compatibility-matrix/) and [dataset annotation identity](/journal/data-guide-coco-instance-caption-identities/) provide related context. Accept the sample when its working set matches the requested scene definition and memory plan, preserving the difference between deliberate partial loading and accidental incompleteness in a supposedly finished dataset image.
