Announcement

Collapse
No announcement yet.

Nodes crashes BlenderVRay

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

  • Nodes crashes BlenderVRay

    Hi,
    I worked on Blender VRAy 2.76. Then I opened the file with the vanilla Blender 2.77 and save it. Now when I try to reopen the file with Bender VRay, it crashes when I select an object to see its material. I downloaded a new version of Blender VRay in the nightlies, but it's still the same. If I append an object from this file, I get the same result.
    This is the error message:
    Code:
    V-Ray For Blender: Parsing plugin descriptions... done [00:00.14]
    addon not found: 'RenderStreet'
    Particle Link | Add-on Activated
    read blend: /Users/Bupla/Documents/Projets/Merial_2/tests_Merial/Merial_IB1.blend
    Error, region type 2 missing in - name:"File", id:5
    Particle Link | Add-on Activated
    V-Ray For Blender: Exporting data for frame 0...
    V-Ray For Blender: Exporting data for frame 0 done [00:00.00]
    Fatal Python error: Segmentation fault
    
    Current thread 0x00007fff7313b000 (most recent call first):
      File "/Applications/ChaosGroup/Blender 2.77 (With V-Ray Additions)/blender.app/Contents/Resources/2.77/scripts/addons/vb30/ui/classes.py", line 206 in NtreeWidget
      File "/Applications/ChaosGroup/Blender 2.77 (With V-Ray Additions)/blender.app/Contents/Resources/2.77/scripts/addons/vb30/ui/properties_material.py", line 43 in RenderMaterialPanel
      File "/Applications/ChaosGroup/Blender 2.77 (With V-Ray Additions)/blender.app/Contents/Resources/2.77/scripts/addons/vb30/ui/properties_material.py", line 122 in draw
    Writing: /tmp/Merial_IB1.crash.txt
    Segmentation fault: 11
    logout
    Saving session...
    ...copying shared history...
    ...saving history...truncating history files...
    ...completed.
    Thanks for the help.

  • #2
    https://github.com/bdancer/vb30/wiki -> Notes:
    DO NOT open and save your scene files in Blender builds without node patches - you will lose all node tree connections! This will be resolved after this patch will be approved: https://developer.blender.org/T37754
    V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
    andrei.izrantcev@chaos.com
    Support Request

    Comment


    • #3
      Damn, I didn't see that. Is there any way to to append the scenes in another file, or with another version of Blender VRay though?

      Comment


      • #4
        Yes, you could append other files. Just don't save files with V-Ray materials in non-patched Blender.
        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
        andrei.izrantcev@chaos.com
        Support Request

        Comment


        • #5
          Thanks, but the problem is I have just one file with all my scenes, that crashes because I accidentaly opened and save it in a non-patched Blender.
          So can I append the scenes of this file in another fresh one?

          Comment


          • #6
            Material node trees connections are probably lost... Could you send me that scene? I'll try to restore them.
            V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
            andrei.izrantcev@chaos.com
            Support Request

            Comment


            • #7
              Thanks Andreï if you have the time to look at it.
              It's the file I sent you by WeTransfer 4 hours ago.

              Comment


              • #8
                bupla, try this script https://gist.github.com/bdancer/e630616a7cfac64ccccc, it'll restore almost all materials, you'll have to select node tree manually for quite a few.
                V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                andrei.izrantcev@chaos.com
                Support Request

                Comment


                • #9
                  Thanks Andreï,
                  I tried the script in the Python console on my corrupted file. I started to reset the materials nodes, but it's very unstable, and it crashes very often, sometimes when I reopen the file. I tried to append the scenes into a new file, even with the materials reset, but it crashes too. If I can reset all the materials with their node trees, could that fix the bug?

                  Comment


                  • #10
                    One hint for you bubla, if you want to append objects from another .blend file, launch it with another Blender session and copy objects you want and paste them to your scene. Much easier that way because you dont need to remember any object names/groups etc.
                    Win11 Pro 64bit, GTX 970, Standalone version: V-Ray Next 4.30.03,

                    Comment


                    • #11
                      Thanks JuhaW, I tried that too, but it crashes when I paste the objects in a new file. Even the objects with node trees reset after Andreï's script, so I guess the file is definitively corrupted …

                      Comment


                      • #12
                        bupla, copy script to the blender text editor and run it from there. It works fine for me without any crashes.
                        V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                        andrei.izrantcev@chaos.com
                        Support Request

                        Comment


                        • #13
                          Terrific, that's working now! Thanks Andreï, I should have a mistake when I copied the code.
                          Thanks again, you saved my life!

                          Comment


                          • #14
                            Hi Andreï,
                            unfortunately, I have another trouble with this same file, I can't render it, it crashes every time.
                            Is there any solution? Thanks.


                            Thread 0x00007fff7689f000 (most recent call first):
                            Writing: /tmp/Merial_ND.crash.txt
                            Writing: /tmp/Merial_ND.crash.txt
                            Segmentation fault: 11
                            logout
                            Saving session...
                            ...copying shared history...
                            ...saving history...truncating history files...
                            ...completed.

                            Comment


                            • #15
                              Ok, send it to me again I'll check.
                              V-Ray For Houdini | V-Ray Hydra Delegate | VRayScene
                              andrei.izrantcev@chaos.com
                              Support Request

                              Comment

                              Working...
                              X