usdview any usda file with Aurora will crash
- Dominant language
- C++
- Stars
- 620
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
after successfully installing Aurora, I tried running the Plasma program, which worked smoothly and was able to load OBJ files. Next, I wanted to test if usdview was functioning correctly. I tried rendering a USD file with the default renderer, and it worked fine. However, when I attempted to use Aurora as the renderer, the window crashed and displayed some error messages.
When I try to render Sphere.usda (USD/extras/usd/tutorials/convertingLayerFormats/Sphere.usda), the following error occurs:
```
PS D:\repos\USD\extras\usd\tutorials\convertingLayerFormats> usdview .\Sphere.usda --renderer=Aurora
Value [True, True, True, True, False] did not pass custom validation for state property 'primViewColumnVisibility'.
Using default value [True, True, True, False].
Warning: Unknown pick mode 'Select Prims', falling back to 'Prims'
```
When I try to render AutodeskTelescope.usda (from README), the following error occurs:
```
PS C:\Users\rzhao\Downloads\AutodeskTelescope> usdview .\AutodeskTelescope.usd --renderer=Aurora
Value [True, True, True, True, False] did not pass custom validation for state property 'primViewColumnVisibility'.
Using default value [True, True, True, False].
Warning: Unknown pick mode 'Select Prims', falling back to 'Prims'
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Tworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Tworld_index has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in RebuildAuroraInstances at line 201 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- Normal array smaller than points array: /telescope05_10_21/telescope_ref/telescope_mount_electronics_box/telescope_orientation_adj_ref/telescope_upper_mount_ref/telescope_ra_ref/telescope_dec_ref/telescope_optical_tube_ref/telescope_tube_mount/telescope_back_body/telescope_back_trimount/telescope_optic_output/telescope_diagonal/diagonal_mirror/diagonal_mirror_Shape
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in RebuildAuroraInstances at line 201 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- Normal array smaller than points array: /telescope05_10_21/telescope_ref/telescope_remote_mount/telescope_remote_body/telescope_remote_screen/telescope_remote_screen_Shape
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning: in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in UpdateAuroraMaterialPath at line 560 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraMesh.cpp -- No material HdAuroraMaterial//telescope05_10_21/Materials/base found in scene for mesh /telescope05_10_21/telescope_ref/telescope_remote_mount/telescope_remote_body/telescope_remote_keyboard/telescope_remote_keys_lights/telescope_remote_keys_lights_Shape
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Coding Error (secondary thread): in _FailGet at line 562 of D:\repos\Aurora-23.03\externals\src\USD-22.08-Aurora-v22.11\pxr\base\vt\value.cpp -- Attempted to get value of type 'VtArray' from empty VtValue.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_UV0_index has no connection, ignoring.
Warning (secondary thread): in operator () at line 40 of D:\repos\Aurora-23.03\Libraries\HdAurora\HdAuroraPlugin.cpp -- D:\repos\Aurora-23.03\Libraries\Aurora\Source\MaterialX\BSDFCodeGenerator.cpp, 340: Input geomprop_Nworld_space has no connection, ignoring.
```
My computer's configuration:
os: windows10
cpu: i9-10850k
gpu: 3060ti
python: 3.9.13
pyside6 version: 6.3.0
pyopengl version: 3.9.6
Contributor guide
Research direction
Reproduce the crash with usdview using Sphere.usda and AutodeskTelescope.usd with --renderer=Aurora, then inspect the reported paths in Libraries/HdAurora/HdAuroraPlugin.cpp, Libraries/Aurora/Source/MaterialX/BSDFCodeGenerator.cpp, Libraries/HdAurora/HdAuroraMesh.cpp, and pxr/base/vt/value.cpp. Done means both example files render with Aurora without crashing or producing the reported invalid-value failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100