Payload Error on Loading File

Hi

I’m trying to load a scene file which defines
default prim /Root, and it defines materials prim under pseudo root as /material.

Usdview can open this file without error, but when I tried to load this file as payload, it throws a lot of errors as

The relationship target </materials/material1> from </ROOT/Core/Cube.material:binding> in layer @Cube.usda@ refers to a path outside the scope of the payload from </Over_Test/Ref>.

What I want to do is to load this scene as payload under a prim, but the scene only contains geometry data under default prim, but no material prim at all.

Thank you !

Hi Steven,

Payloading is like referencing so you only get to choose one root prim in the file being payloaded/referenced. All of the descendant prims of that root prim will be included, but any other root prims under the pseudo root will be excluded.
You’ll have to place both your geometry and materials under a root prim.
The hierarchy would look something like this:

ROOT
    Core
      Cube
    materials
      material1

Hi erikcarlson,

It seems that I will have to put everything under default prim, thank you.