Error (kNotFound): Unexpected Internal Failure

Hi, I have seen this error message lately, apparently it is unrelated to scenes, since it sometimes appears, sometimes not:

// Error: texturedShader->addOutputFragment(“vrayLightGain”, “inColor”): (kNotFound): Unexpected Internal Failure

I’m using Maya 2018.7 with Vray 5 (hotfix 2).

The scenes work fine, the error line keeps prompting after any action. I wonder what this message is about and how can it be fix.

Check this post here.