Hello, Im having some problems with building USD to function with OCIO, The build returns succesful but when I launch USD View, the viewport is glitched (pretty much black), and there’s this error.
ERROR: Usdview encountered an error while rendering. Error in 'pxrInternal_v0_25_8__pxrReserved__::HdxColorCorrectionTask::_CreateOpenColorIOShaderCode' at line 563 in file D:\Libs\Source\usd_25.08\pxr\imaging\hdx\colorCorrectionTask.cpp : 'Failed verification: ' !texInfo.texName.empty() && !texInfo.samplerName.empty() ''Coding Error: in _CreateOpenColorIOShaderCode at line 563 of D:\Libs\Source\usd_25.08\pxr\imaging\hdx\colorCorrectionTask.cpp -- Failed verification: ' !texInfo.texName.empty() && !texInfo.samplerName.empty() 'ERROR: Usdview encountered an error while rendering. Error in 'pxrInternal_v0_25_8__pxrReserved__::HdxColorCorrectionTask::_CreateOpenColorIOShaderCode' at line 563 in file D:\Libs\Source\usd_25.08\pxr\imaging\hdx\colorCorrectionTask.cpp : 'Failed verification: ' !texInfo.texName.empty() && !texInfo.samplerName.empty() ''Coding Error: in _CreateOpenColorIOShaderCode at line 563 of D:\Libs\Source\usd_25.08\pxr\imaging\hdx\colorCorrectionTask.cpp -- Failed verification: ' !texInfo.texName.empty() && !texInfo.samplerName.empty()
Im not sure why that might be happening, below is details on how I built USD -
Using build_usd.py provide with these args -
python build_usd.py --opencolorio --openimageio --openvdb --alembic --prman --prman-location "C:\Program Files\Pixar\RenderManProServer-26.3" --python "D:\Libs\Source\usd_25.08\install"
Python 3.11
I let the build file configure all dependencies.
Running USD view - I have set the lib, bin, python in the python path and added env variables needed for running with prman.
Color Management set to sRGB work fine in storm and hdPrman, it only causes problems switching to OCIO.
Any help would be appreciated!
Thank you.