Observed behavior
The OpenMoonRay v2026.29.1 / OpenUSD 25.05.01 benchmark logs report:
Warning: in _LoadLibModules ... Error loading lib moonrayShaderParser's module 'pxr.MoonrayShaderParser':
ModuleNotFoundError: No module named 'pxr.MoonrayShaderParser'
Warning: in _LoadLibModules ... Error loading lib moonrayShaderDiscovery's module 'pxr.MoonrayShaderDiscovery':
ModuleNotFoundError: No module named 'pxr.MoonrayShaderDiscovery'
The warnings occur with both hd_render and stock usdrecord.
Current impact
The C++ shader discovery and parser plugins still load, and the tested scenes render. This is currently a non-blocking packaging warning rather than a demonstrated rendering failure.
Source evidence
moonray_sdr_plugins registers the two Python modules through TfScriptModuleLoader. Both plugin source directories contain an __init__.py whose comment says it makes the module importable and avoids the warning.
The current CMake install rules install each shared library and plugInfo.json, but do not install either __init__.py into the OpenUSD pxr Python package.
Related upstream report: OpenMoonRay/openmoonray#52
That report concerns an environment where the entire pxr package was unavailable. In this benchmark environment, the OpenUSD Python package loads and only the two MoonRay modules are missing.
Evidence
Next step
Test installing the existing __init__.py files into the corresponding pxr Python-module directories and confirm that both warnings disappear without changing shader discovery or rendered output.
Observed behavior
The OpenMoonRay
v2026.29.1/ OpenUSD 25.05.01 benchmark logs report:The warnings occur with both
hd_renderand stockusdrecord.Current impact
The C++ shader discovery and parser plugins still load, and the tested scenes render. This is currently a non-blocking packaging warning rather than a demonstrated rendering failure.
Source evidence
moonray_sdr_pluginsregisters the two Python modules throughTfScriptModuleLoader. Both plugin source directories contain an__init__.pywhose comment says it makes the module importable and avoids the warning.The current CMake install rules install each shared library and
plugInfo.json, but do not install either__init__.pyinto the OpenUSDpxrPython package.Related upstream report: OpenMoonRay/openmoonray#52
That report concerns an environment where the entire
pxrpackage was unavailable. In this benchmark environment, the OpenUSD Python package loads and only the two MoonRay modules are missing.Evidence
v2026.29.1:d96c6e30a8c280d4b5eb3bafa5e54efc445d7ea8moonray_sdr_plugins:36a097e8d2796e138d0720a47b2ce79f89931af7Next step
Test installing the existing
__init__.pyfiles into the correspondingpxrPython-module directories and confirm that both warnings disappear without changing shader discovery or rendered output.