# Specialize Compositon Arc - Bug (or expected behaviour)?

**URL:** <https://forum.aousd.org/t/specialize-compositon-arc-bug-or-expected-behaviour/1254>\
**Category:** USD\
**Created:** [February 23, 2024, 1:22am UTC](https://forum.aousd.org/t/specialize-compositon-arc-bug-or-expected-behaviour/1254 "2024-02-23T01:22:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![LucaScheller](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/lucascheller/32/83_2.png) [@LucaScheller](https://forum.aousd.org/u/LucaScheller)\
**Post date:** [February 23, 2024, 1:22am UTC](https://forum.aousd.org/t/specialize-compositon-arc-bug-or-expected-behaviour/1254/1 "2024-02-23T01:22:17Z")

</div>

Hey,

I was playing around with a specialize composition arc setup and ran into the following behaviour:

The specialize stops working when I have two levels of “nested-ness”, so two levels of payloads/references. If I have just one level, it behaves as expected.  
The even stranger thing is, that if I don’t change the prim path location of the prim that has the reference, it doesn’t break. So it seems like that after two levels some namespace mapping is not valid? It happens with both “internal” (arc points to a prim within the asset  
and “external” specializes (arc point to a prim outside of the asset root prim) (see the examples below):

Here is a Houdini .hip file showing the problem (I had to .zip it due to .hipnc not being allowed here):  
[CompositionSpecializeBug.zip](https://forum.aousd.org/uploads/short-url/s5ybQ9O3hpOlEg80IimIMvT7ZW4.zip) (9.2 KB)

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/4640cae8d766760052928e397145c5d661bb8886.png)

Here is the USD content from the Houdini scene as .usda files:  
[Robot.zip](https://forum.aousd.org/uploads/short-url/7QYqlC2TTE8aeNPUTF8BFHJoTDA.zip) (4.3 KB)

Files that show the problem start with “VIEW\_”, view them in UsdView or Houdini, and select the CorrodedMetal prim and check the properties.

 ![image](https://us1.discourse-cdn.com/flex016/uploads/aousd/original/1X/70626e93b0fcea36ffa830fb0414f474ab820419.png)

I’d expect the “specialize” arc to work the same way in terms of recursive-ness as the “inherit” arc, but this does not seem to be the case.

Is this intended or a bug? (If yes I can file a GitHub bug.)

Any pointers would be highly appreciated 🙂

Cheers,  
Luca

---

<div class="post-metadata">

**Author:** ![sunya](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sunya](https://forum.aousd.org/u/sunya)\
**Post date:** [February 27, 2024, 12:41am UTC](https://forum.aousd.org/t/specialize-compositon-arc-bug-or-expected-behaviour/1254/2 "2024-02-27T00:41:15Z")

</div>

Hey @LucaScheller, at first glance this looks like a bug. I wouldn’t expect multiple levels of referencing/payloading to change the strength ordering like this. If you wouldn’t mind filing that bug on GitHub that’d be super helpful. Thanks!

- Sunya

---

<div class="post-metadata">

**Author:** ![LucaScheller](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.aousd.org/lucascheller/32/83_2.png) [@LucaScheller](https://forum.aousd.org/u/LucaScheller)\
**Post date:** [February 27, 2024, 3:08am UTC](https://forum.aousd.org/t/specialize-compositon-arc-bug-or-expected-behaviour/1254/3 "2024-02-27T03:08:39Z")

</div>

Here you go: [Specialize compositon arc fais to work with multi-level referencing. · Issue #2971 · PixarAnimationStudios/OpenUSD · GitHub](https://github.com/PixarAnimationStudios/OpenUSD/issues/2971)

Thanks for taking the time to respond!
