Announcement

Collapse
No announcement yet.

Max crashed on startup, vray sun script broke. How can I repair it? Reinstallation does not help.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Max crashed on startup, vray sun script broke. How can I repair it? Reinstallation does not help.

    I started 3dsmax 2018 and during the startup sequenze it froze and I had to use the task manager (Win10) to force close the application.
    Now I always get an error message at the start:

    "MaxScript MacroScript Compile - C:\users......."
    --Compile error: Unexpected end-of-script

    "macroScript VRaySun
    category:"VRay"
    buttonText:"V-Ray Sun"
    toolTip: "Create V-Ray Sun"
    (
    local enabled = false

    fn checkVRayRenderer = (
    local enabled = false
    if(renderers.production != undefined) then (
    cid = renderers.production.classid
    enabled = ((cid[1] == 194161523 and (cid[2] == 2012806412) or (cid[1] == 1770671000) and (cid[2] == 1323107829))
    )
    enabled
    )

    on execute do StartObjectCreation VRaySun

    on isEnabled do
    (
    enabled=checkVRayRenderer()
    )

    on isVisible do
    (
    enabled=ch"


    Re-installing vray (including uninstallation) does not solve the issue.
    What can I do to remove the error?

  • #2
    Hello,

    At the beginning of the message there's a path to the problem file C:\users....... - in most cases it's tempSomeNumber.mcr - it is safe to delete it and Max will recreate it correctly.

    Best regards,
    Yavor
    Yavor Rubenov
    V-Ray for 3ds Max developer

    Comment


    • #3
      Hello Yavor,

      thank you very much!!
      Very quick and helpful

      best regards
      Dennis

      Comment


      • #4
        You are welcome
        Yavor Rubenov
        V-Ray for 3ds Max developer

        Comment

        Working...
        X