OCIO Context variables : unresolved context variables not supported in Maya 2022 (not a problem in Maya 2020)

donat
Contributor

OCIO Context variables : unresolved context variables not supported in Maya 2022 (not a problem in Maya 2020)

donat
Contributor
Contributor

Hi,

I'm using a custom ocio config file containing the environment section as follows:

 

environment:
CAMERA: $CAMERA
SEQUENCE: $SEQUENCE
EVENT: $EVENT

 

If any of those env vars are not defined when I start Maya 2022, I get a error message and Maya refuses to start.

This did not happen in Maya 2020. 

 

Regards

 

0 Likes
Reply
Accepted solutions (1)
572 Views
1 Reply
  • OCIO
Reply (1)

118143
Contributor
Contributor
Accepted solution

Hi Donat,

 

Thank you for reporting the problem.

 

I did reproduce the problem, and it has already been fixed internally. It will be part of the next update release.

 

However, the problem is slightly different from your other post. In this case, Maya uses the new OpenColorIO library (i.e. OCIOv2) which now triggers an error on unresolved context variables breaking the OCIOv1 behavior.

 

In the meantime, you can either remove the unresolved context variables if not used -- or -- switch back to the synColor mode. To do so, you only need to set the env. variable MAYA_COLOR_MANAGEMENT_SYNCOLOR in a console before starting Maya.

 

Patrick.