Nuke Crashing when reading scripts made under an OCIO environment variable

nuke
vfx
workflow
Tags: #<Tag:0x00007f6dbf9f0c98> #<Tag:0x00007f6dbf9f0a18> #<Tag:0x00007f6dbf9f0798>
(Stephen Casey) #1

Hey guys,

Experiencing a problem with Nuke crashing when opening .nk scripts made after setting an environment variable (OCIO="Z:…config.ocio)

Scenes prior to adding this variable work fine, the only difference in the files (in a text editor) are the new crashing files DONT have “customOCIOConfigPath Z:/…config.ocio” If I manually add that line in, the scene works fine. I’d rather not have to add this line is. I do have nuke.knobDefault(“Root.customOCIOConfigPath”, “Z:/…config.ocio”) in my innit file, not sure if this is creating confusion somewhere??

Anyone come across this before?

Thanks

-Steve