We have our own application launcher that sets the environment variables necessary to make C4D work with Arnold, but one piece that isn't working is the arnold_setup_cryptomatte.py script.
What environment variable should I be setting--and to what value--to get C4DtoA to see this python script? We've moved it to our own plugin heirarchy on our network server, and nothing I've tried works.
Under R21, setting C4D_SCRIPTS_DIR to point to the folder containing this script works, but not under R20.
I get the "The arnold_setup_cryptomatte.py script is not installed." popup message.
When I look at the value of C4D_SCRIPTS_DIR in the Python console, it contains the directory where the script lives.
Platform: Windows 10, Cinema 4D R20.026, C4DtoA 2.4.5.1.
Still can not reproduce it. Windows 10, C4D R20.059, C4DtoA 2.4.5.1. Can you check if the script is listed in the Script Manager (Shift + F11)?
Since it works with R21.207 and C4DtoA 2.6.1.4+5.4.0.1, I am left to conclude that it is a bug in C4DtoA 2.4.5.1 that was fixed in a later release.
Either that, or 2.4.5.1 looks at something other than C4D_SCRIPTS_DIR for this script.
Well, I'm not sure, as I said I tested with C4DtoA 2.4.5.1 and it worked. Don't recall any related fixes. But you can test a newer version if you can.
I was thinking maybe a bug in C4D, since I tested with R20.059 and you have R20.026, although I don't see any related fixes in the release notes.