Announcement

Collapse
No announcement yet.

Maya 2020 / 2022 | UI integrity check mismatch. Qt version 5.12.5

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

  • Maya 2020 / 2022 | UI integrity check mismatch. Qt version 5.12.5

    Good evening!

    I'm trying to install VRay 5.10.2x in Maya 2020 and 2022. Both Mayas start with the same pop-up. I've update both DCCs to the most recent version, but the still have the old version not supported by VRay5. I'm using the zip archives, as the plugins are "installed" via REZ (https://github.com/nerdvegas/rez). Version 5.00.22 works fine on Maya 2020. What am I doing wrong?

    Attached Files

  • #2
    Could you try zip-installing V-Ray manually and see if the issue persists?
    Aleksandar Hadzhiev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      I've found the solution. It's all about the PATH variable and changes brought by VRay 5. I'll post, what I did later this evening.

      Comment


      • #4
        So here is the list for all needed environment variables to connect VRay 4 & 5 zip packages into your Maya, if for what-ever reason you decide to not use the supplied batch file or Maya's module system.

        Code:
        rem Windows batch syntax:
        set ROOT "your/unzipped/vray/folder"
        
        setx VRAY_FOR_MAYA2020_MAIN %ROOT%/maya_vray
        setx VRAY_FOR_MAYA2020_PLUGINS = %ROOT%/maya_vray/vrayplugins
        setx VRAY_PLUGINS_x64 %ROOT%/maya_vray/vrayplugins
        
        setx MAYA_CUSTOM_TEMPLATE_PATH %MAYA_CUSTOM_TEMPLATE_PATH%;%ROOT%/maya_vray/scripts
        setx MAYA_PLUG_IN_PATH %MAYA_PLUG_IN_PATH%;%ROOT%/maya_vray/plug-ins
        setx MAYA_SCRIPT_PATH %MAYA_SCRIPT_PATH%;%ROOT%/maya_vray/scripts
        setx PYTHONPATH %PYTHONPATH%;%ROOT%/maya_vray/scripts
        setx XBMLANGPATH %XBMLANGPATH%;%ROOT%/maya_vray/icons
        
        rem !!! Only for VRay 4 (next) !!!
        setx PATH %PATH%;%ROOT%/vray/bin;%ROOT%/maya_vray/bin;%ROOT%/maya_root/bin
        
        rem !!! Only for VRay 5 !!!
        setx PATH %PATH%;%ROOT%/maya_vray/bin;%ROOT%/maya_vray/bin/hostbin
        I had the PATH variable "untouched" as in VRay 4, so it was not capable of finding the correct DLLs.

        Comment


        • #5
          Hey, I can confirm your findings. I just wanted to also share a note:
          The V-Ray Next setup work up to and including V-Ray 5.0. The changes are introduced in V-Ray 5.1.
          All the needed information can be found here: https://docs.chaosgroup.com/display/...p-SetupforMaya

          It's important to note that PATH needs to point to both ROOT/maya_vray/bin/hostbin and ROOT/maya_vray/bin - and in that particular order (first is bin/hostbin, second is bin/).

          Alex Yolov
          Product Manager
          V-Ray for Maya, Chaos Player
          www.chaos.com

          Comment


          • #6
            I don't know if this is really related - sorry if not: We have updated our render clients to Maya 2022.2 and V-Ray 5.1.0.22. No we can't batch render anymore.

            The batch render process exit with:

            Error: file: C:/Program Files/Autodesk/Maya2022/scripts/others/mayaBatchRenderProcedure.mel line 672: Error - No renderable layers found, cancelling render.
            Error: file: C:\Users\XXX\AppData\Local\Temp\AST7B1713860.tmp line 38: Scene D:\maya\projects\XXX\scenes\7512XXXX.mb failed to render.

            There are no render layer in the scene and the same scene renders fine in Maya, but it does not batch render the scene on the same machine.

            All installations are made via the "normal" installer not the zip version.

            Guess that the mayaBatchRenderProcedure has no "link" to the new V-Ray version?

            Comment


            • #7
              Problem was solved after reinstalling V-Ray.

              Comment

              Working...
              X