Maya 2020.4
Vray 5 hotfix 3 (v5.00.23 from Apr 20 2021)
I open Maya and have set Vray as the default render engine. The render settings should be loaded on startup. I saved a .json file in the defauilt location. (C:\Users\…\Documents\maya\Presets)
New presets don’t work either and manually loading them doesn’t work too.
This is in the Script editor on startup:
// Initializing V-Ray for Maya
evalDeferred “shaderBallRendererMenuUpdate”;
# Error: file: C:/Users/postamt/Documents/maya/2020/scripts/userSetup.mel line 2: AttributeError: file <maya console> line 3: ‘module’ object has no attribute ‘cacheEvaluator’ #
// Error: MGlobal::executePythonCommand( “typesParam='types=” “+VRaySunShape,” “+VRaySunTarget,” “+VRayLightSphereShape,” “+VRayLightDomeShape,” “+VRayLightMeterShape,” “+VRayLightRectShape,” “+VRayLightIESShape,” “+VRayClipperShape,” “+VRayMeshPreview,” “+VRayPlane,” “+VRayPluginNodeLightShape,” “+VRayFurPreview,” “+VRayEnvironmentPreview,” “+VRaySphereFade,” “+VRayMetaball,” “+VRayScene” “'\n” “import maya.cmds as cmds\n” “cmds.cacheEvaluator(” “newFilter=‘nodeTypes’,” “newFilterParam=typesParam,” “newAction=‘enableEvaluationCache’” “)”): (kFailure): Unexpected Internal Failure //
// Error: line 1: Cannot find procedure “cacheEvaluator”. //
// Error: MGlobal::executeCommand(DAC): (kFailure): Unexpected Internal Failure //
// Warning: V-Ray VolumeGrid: Loading shaders failed - no <*.txt> files in . //
VRayVolumeGridInit();
// Warning: file: C:\Users\postamt\Documents\maya\2020\prefs\filePat hEditorRegistryPrefs.mel line 4: filePathEditor: Attribute ‘aiImage.filename’ is invalid or is not designated ‘usedAsFilename’. //
// Warning: file: C:\Users\postamt\Documents\maya\2020\prefs\filePat hEditorRegistryPrefs.mel line 5: filePathEditor: Attribute ‘aiPhotometricLight.aiFilename’ is invalid or is not designated ‘usedAsFilename’. //
// Warning: file: C:\Users\postamt\Documents\maya\2020\prefs\filePat hEditorRegistryPrefs.mel line 6: filePathEditor: Attribute ‘aiStandIn.dso’ is invalid or is not designated ‘usedAsFilename’. //
// Warning: file: C:\Users\postamt\Documents\maya\2020\prefs\filePat hEditorRegistryPrefs.mel line 7: filePathEditor: Attribute ‘aiVolume.filename’ is invalid or is not designated ‘usedAsFilename’. //
updateRendererUI;
# pymel.core : Updating pymel with pre-loaded plugins: vrayvolumegrid, vrayformaya, renderSetup
updateRenderOverride;
file -f -new;
// untitled //
commandPort -securityWarning -name commandportDefault;
onSetCurrentLayout “Maya Classic”;
addOneTabToGlobalsWindow(“vray”, “Common”, “vrayCreateVRayCommonGlobalsTab”);
addOneTabToGlobalsWindow(“vray”, “VRay”, “vrayCreateVRayGlobalsTab”);
addOneTabToGlobalsWindow(“vray”, “GI”, “vrayCreateIndirectIlluminationTab”);
addOneTabToGlobalsWindow(“vray”, “Settings”, “vrayCreateSettingsTab”);
addOneTabToGlobalsWindow(“vray”, “Overrides”, “vrayCreateOverridesTab”);
addOneTabToGlobalsWindow(“vray”, “Render Elements”, “vrayCreateRenderElementsTab”);
addOneTabToGlobalsWindow(“vray”, “IPR”, “vrayCreateRTTab”);
// AbcExport v1.0 using Alembic 1.7.5 (built Feb 6 2018 18:28:08) //
// AbcImport v1.0 using Alembic 1.7.5 (built Feb 6 2018 18:28:08) //
optionVar -exists “vnnUIUserPrefs”;
// Result: 1 //
optionVar -query “vnnUIUserPrefs”;
// Result: {} //
addOneTabToGlobalsWindow(“vray”, “Common”, “vrayCreateVRayCommonGlobalsTab”);
addOneTabToGlobalsWindow(“vray”, “VRay”, “vrayCreateVRayGlobalsTab”);
addOneTabToGlobalsWindow(“vray”, “GI”, “vrayCreateIndirectIlluminationTab”);
addOneTabToGlobalsWindow(“vray”, “Settings”, “vrayCreateSettingsTab”);
addOneTabToGlobalsWindow(“vray”, “Overrides”, “vrayCreateOverridesTab”);
addOneTabToGlobalsWindow(“vray”, “Render Elements”, “vrayCreateRenderElementsTab”);
addOneTabToGlobalsWindow(“vray”, “IPR”, “vrayCreateRTTab”);
vray_default_settings.zip (1.8 KB)