Announcement

Collapse
No announcement yet.

Cmd rendering from .bat throwing weird error about Hair2 shader not found

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

  • Cmd rendering from .bat throwing weird error about Hair2 shader not found

    Tried the file on a couple of different computers. This computer gives the error:

    9/9/2022 11:26:23 AM; Renderer: V-Ray 5, update 2.2
    9/9/2022 11:26:25 AM; Product version: 3ds Max 2022.3 Update (24.3.0.3404)
    9/9/2022 11:26:25 AM; Data collection and use is 'ON'. Change your participation anytime in the Help menu of 3ds Max.
    9/9/2022 11:27:08 AM; Initializing Python version: 3.7.12
    9/9/2022 11:27:18 AM; ALC Security Tool 1.3 enabled.
    9/9/2022 11:27:18 AM; ALC2 Security Tool 1.3 enabled.
    9/9/2022 11:27:18 AM; PhysXPluginMfx Security Tool 1.3 enabled.
    9/9/2022 11:27:18 AM; PhysXPluginMfx2 Security Tool 1.1 enabled.
    9/9/2022 11:27:19 AM; CRP Security Tool 1.1 enabled.
    9/9/2022 11:27:19 AM; ADSL Security Tool 1.1 enabled.
    9/9/2022 11:27:19 AM; MSCPROP Security Tool 1.0 enabled.
    9/9/2022 11:27:53 AM; Max is ready
    9/9/2022 11:27:54 AM; Frame 1 assigned
    9/9/2022 11:27:54 AM; [V-Ray] ================================================== ==========
    9/9/2022 11:27:54 AM; [V-Ray] Console created, V-Ray 5.20.23 for x64 from Apr 11 2022, 19:44:00
    9/9/2022 11:27:54 AM; [V-Ray] ================================================== ==========
    9/9/2022 11:27:54 AM; [V-Ray] Compiled with Microsoft Visual C++ compiler, version 19.12
    9/9/2022 11:27:54 AM; [V-Ray] Host is 3ds Max, version 24
    9/9/2022 11:27:54 AM; [V-Ray] V-Ray DLL version is 5.20.23
    9/9/2022 11:27:54 AM; Error rendering frame 1: 11:26:54 [ERROR] Cannot find shader class 'Hair2'

    The render completes as expected on other machines. I tried using a different file to see if it was just the one scene but all do it. I think it has something do with the V-Ray SDK? After searching around the internet, it was the only place I could find a reference to the old shader for hair2.

    I've attached the bat file, max scene and error log.
    Attached Files
Working...
X