I am working in USD Composer launched with the Kit-App-Template, using a Local Nucleus Server.
When I create an Xform Prim and try to add References, the following error occurs and the reference is not added.
[Error] [omni.usd.impl.utils] Failed to open crate file ./Modern.usd:
[Error] [omni.usd.impl.utils] Error in 'pxrInternal_v0_24__pxrReserved::Usd_CrateFile::CrateFile::Open’ at line 2185 in file C:\g\155338243\USD\pxr\usd\usd\crateFile.cpp : ‘Failed to open asset ‘./Modern.usd’’
[Warning] [omni.metrics.assembler.ui.metricsAssemblerManager] Could not get Sdf layer for ./Modern.usd
Hi and there and welcome. Can you provide some more details please.
- What version of Kit? 106? 107?
- Can you open a normal demo file in USD Composer, like the astronaut etc?
- Are you trying to open the file through the USD Composer menu system, File > Open, or the Content Browser, or are you trying through code?
- You are trying to add references underneath a Xform? How exactly are you doing that? That is really not the way. If you want to add a reference to “modern.usd”, you can just drag it into the viewport or the Stage Tree and it will import. I would just try to directly add it under an Xform. Try that method first and see if it works well.
- When you try to open Modern.usd, does it open normally?
Thank you for your response!
- Kit SDK Version: 107.2.0+feature.190796.ae1b1071.gl
- It works well.
- I’m using the Content Browser.
- I’ve added a video demonstrating the approach I’m trying to take. Specifically, when I use drag and drop into the viewport or Stage Tree, the assets are loaded correctly using the Payloads method. However, when I click “Convert Payloads to References” in the Stage Tree, an error occurs.
- It opens without any issues.
I also have a question regarding the “Select Mode” on the left bar of the Viewport in USD Composer.
For example, when I open the astronaut demo file and choose “Select Mode → All Model Kinds”, then click on the astronaut object in the Viewport, the entire model gets selected, and I can move it as a whole — as expected. On the other hand, if I select “Select Mode → All Prim Types” and click on the astronaut, I understand that only a part of the model should be selected.
However, in my case, only parts of the model are selected regardless of which of the two selection modes I use.