Announcement

Collapse
No announcement yet.

Error when converting Corona to VRay

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

  • Error when converting Corona to VRay

    Hi,

    First time poster here and new to scripting and errors. I'm trying to convert a Corona scene I downloaded to VRay, in order to use Chaos Vantage, but I receive an error and can't for the life of me figure it out.

    If anyone has an ideas, please help!

    Also, both VRay and Corona are installed on the PC, both latest builds.

    Thanks!
    Attached Files

  • #2
    This has been long fixed, but it hasn't yet made it into the official releases.
    You can however install a stable build, and the error will be fixed.

    Lele
    Trouble Stirrer in RnD @ Chaos
    ----------------------
    emanuele.lecchi@chaos.com

    Disclaimer:
    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

    Comment


    • #3
      Thanks for replying!
      By stable build, do you mean of Corona or VRay? Which one is the culprit?

      Comment


      • #4
        V-Ray, the ones i linked you.
        Lele
        Trouble Stirrer in RnD @ Chaos
        ----------------------
        emanuele.lecchi@chaos.com

        Disclaimer:
        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

        Comment


        • #5
          LE: Uninstalled OneDrive, didn't do anything. Error still persists.

          I did. I get the same error. Now that I think of it, when converting the scene, would it be possible that Max tries to write some temp files to certain directories/folders it doesn't have permission to? Thus showing errors? I remember installing OneDrive after a clean reinstall of Windows, just before Christmas, and I struggled with many apps to install different stuff because the anti Ransomware of OneDrive kept refusing to allow software to write files in /Documents.
          Last edited by victor_pop; 12-01-2023, 08:45 AM.

          Comment


          • #6
            I don't quite understand your latest response: You should simply download one of the linked builds, install it in place of your current one, and retry the conversion.
            It works for me, i checked the code, there are *two* parameters passed to the function, as it wants now.

            The conversion writes absolutely no file, nor it attempts to save the max file currently open.
            The issue in the OP is something that we saw, and fixed, months ago: i feared we had a reversion.

            Click image for larger version  Name:	physmat.gif Views:	0 Size:	167.6 KB ID:	1169976
            Lele
            Trouble Stirrer in RnD @ Chaos
            ----------------------
            emanuele.lecchi@chaos.com

            Disclaimer:
            The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

            Comment


            • #7
              LE: I did try on a clean scene, created a simple cube, added a CoronaMtl to it and a simple CoronaSun. It did convert the scene with no issues. So it must be something to do either with how the scene is configured, or a bug I encountered.

              I did reinstall VRay 6 standalone (stable build) for x64 as you suggested, from the link you provided. It still doesn’t work. I didn’t try on a clean scene with just a couple of objects and materials, instead of a complex scene. Regardless, it doesn’t work as of yet. If you have any other suggestions, I’d highly appreciate!
              Last edited by victor_pop; 12-01-2023, 12:20 PM.

              Comment


              • #8
                We'll need to see the scene, please write directly to support to arrange a sending (feel free to mention this thread).
                Lele
                Trouble Stirrer in RnD @ Chaos
                ----------------------
                emanuele.lecchi@chaos.com

                Disclaimer:
                The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                Comment


                • #9
                  Hi, I'm having a similar error:
                  When converting the scene to vray I get an MAXScript Rollout Handler Exception (see screenshot attached).

                  I installed a stable Vray build as suggested, but nothing changes.
                  Do you have any futher advice for me?
                  Thanks in advance!

                  Best,
                  Frederik

                  Click image for larger version

Name:	MAXScript Rollout Handler Exception.jpg
Views:	2264
Size:	290.3 KB
ID:	1170119

                  Comment


                  • #10
                    This is a wholly different error.
                    It looks like something changed on the corona side, and a property that used to be on the map isn't there anymore.
                    We'll investigate it, thanks for the report. (filed as VMAX-12937)
                    Last edited by ^Lele^; 14-01-2023, 04:23 AM.
                    Lele
                    Trouble Stirrer in RnD @ Chaos
                    ----------------------
                    emanuele.lecchi@chaos.com

                    Disclaimer:
                    The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                    Comment


                    • #11
                      Hi Lele,

                      you're welcome!
                      Do you think there might be a quick solution or will it take longer to solve the problem?

                      When I'm converting cameras there is another problem. See screenshot attached.

                      Thanks and best regards,
                      Frederik



                      Click image for larger version

Name:	MAXScript Rollout Handler Exception2.jpg
Views:	2254
Size:	225.5 KB
ID:	1170138
                      Last edited by Artistrophic; 14-01-2023, 11:39 AM.

                      Comment


                      • #12
                        Bug confirmed, filed as VMAX-12938, thank you very much for the report.
                        As the code owner will have had a chance to look into the issues, we'll make sure to let you know of the timing.
                        Lele
                        Trouble Stirrer in RnD @ Chaos
                        ----------------------
                        emanuele.lecchi@chaos.com

                        Disclaimer:
                        The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                        Comment


                        • #13
                          Hi Lele,
                          I'm curious if there's been any movement on solving the convert Corona MultiMap bug, or any suggested work-around?
                          I'm encountering this issue today, with the latest versions of both Corona and Vray (and quite some time after the bug was originally flagged).
                          Fingers crossed!
                          Thanks

                          Click image for larger version

Name:	Screenshot 2023-08-09 132534.png
Views:	2121
Size:	115.2 KB
ID:	1188239
                          Attached Files

                          Comment


                          • #14
                            It is fixed, you can find it in the stable builds.
                            It will of course be included in the next official update.
                            Lele
                            Trouble Stirrer in RnD @ Chaos
                            ----------------------
                            emanuele.lecchi@chaos.com

                            Disclaimer:
                            The views and opinions expressed here are my own and do not represent those of Chaos Group, unless otherwise stated.

                            Comment


                            • #15
                              Excellent, thanks so much Lele!

                              Comment

                              Working...
                              X