MAXScript errors at 3ds Max startup

This page provides solutions for V-Ray related MAXScript errors that appear upon 3ds Max startup.

 

Issue

At 3ds Max startup, MAXScript may pop up the following error messages:

Compile error: Can’t find include file: $startupScripts\vrsceneexport.ms
In line include “$startupScripts\\vrscene.export.ms”
 
“$startupScripts\\vrayinstall.ms”
include "$startupScripts\\vrsceneexport.ms"
include "$startupScripts\\vrayutils.ms"
include "$startupscripts\\vraylightlister.ms"
include "$startupScripts\\vrvismatconvertor.ms"

 

vrscene_export.png

 

The errors are usually due to leftover files from previous V-Ray installation or due to incorrect installation/uninstallation of the product.

 

Solution 1:

A quick way to fix such errors is to reset 3ds Max settings to default by following the steps below.

Resetting 3ds Max settings affects all user-made UI customizations. It may also affect other plugins.

  1. Close any running 3ds Max sessions.
  2. Navigate to the following path:

    C:\Users\%username%\AppData\Local\Autodesk\3dsMax\

  3. Open the folder for the current installation: i.e. 2020 - 64bit.

  4. Rename the ENU folder to ENU_old.

 

With the launch of 3ds Max, a new ENU folder is created automatically, and the issue should be resolved. However, if the issue is not resolved, you can restore 3ds Max settings by removing the new ENU folder and renaming the ENU_old folder back to ENU.

More information about the 3ds Max resetting process can be found here.

 

Solution 2:

Another solution is to locate the corrupted script and remove it from the 3ds Max startup folder.

  1. Find the script-file-name either from the pop-up message or from the MAXScript Editor.


    vrinstall_ms.png

     

  2. Navigate to 3ds Max Startup folder:
    C:\Program Files\Autodesk\3ds Max <Version>\scripts\Startup

  3. Remove the script file.

  4. Reinstall V-Ray.

 

Conclusion:

If the above solutions do not resolve the issue, feel free to contact Chaos Group Support. Please collect and send information regarding V-Ray and 3ds Max versions, and a screenshot of the MAXScript error. 

Was this article helpful?
0 out of 1 found this helpful