Announcement

Collapse
No announcement yet.

Vrmat Materials are not loaded in the scene

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

  • Vrmat Materials are not loaded in the scene

    Hello,

    When I made the steps in the attached video in a new SketchUp file, the Vrmat Materials are not loaded in the scene even if SketchUp is restarted.
    http://www.screencast.com/t/SmhBKOSFO
    Last edited by Mousa_SA; 18-02-2018, 03:25 PM.
    Regards,
    Mousa Abu Doush
    Architect | 3D Artist
    www.sketchuparchive.com

  • #2
    Can you try to switch to In Model Tab and see if the materials are properly added there?
    Also can you collect a list of materials that are not displayed properly.
    I noticed that Leather_A01_Brown_25cm is imported with wrong icon in In-Model tab but it's there.
    Svetlozar Draganov | Senior Manager 3D Support | contact us
    Chaos & Enscape & Cylindo are now one!

    Comment


    • #3
      I have recorded another video for the issue, sometimes the vrmat materials will be deleted when I load them in the Asset editor, note that I was able to reproduce this issue on another machine.
      http://www.screencast.com/t/yeF7SjDbng
      Regards,
      Mousa Abu Doush
      Architect | 3D Artist
      www.sketchuparchive.com

      Comment


      • #4
        When I open the Ruby Console, it gives this error :

        Error: #<TypeError: reference to deleted Entity>
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `entityID'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `onMaterialAdd'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `abort_operation'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `rescue in initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:63:in `initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `new'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:62:in `handle_plugin_change'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:10:in `block (2 levels) in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `each'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `block in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `block in handle'
        SketchUp:1:in `call'
        Error: #<TypeError: reference to deleted Entity>
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `entityID'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `onMaterialRemove'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `abort_operation'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:53:in `rescue in initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:63:in `initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `new'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:62:in `handle_plugin_change'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:10:in `block (2 levels) in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `each'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `block in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `block in handle'
        SketchUp:1:in `call'
        materials_observer(24):error: "No cached info for #<Deleted Entity:0x11973090>"
        ["disable_ui", false]
        helpers(54):error: Cannot open file C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\materials\Wood & Laminate\maps\Wood_Planks_C_Diff0.jpg
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:112:in `set_sketchup_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:100:in `block in apply_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:118:in `preserving_size'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:96:in `apply_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:12:in `apply'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:37:in `block in to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:50:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:50:in `initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `new'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:62:in `handle_plugin_change'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:10:in `block (2 levels) in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `each'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `block in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `block in handle'
        SketchUp:1:in `call'
        material_sync(64):error: Cannot open file C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\materials\Wood & Laminate\maps\Wood_Planks_C_Diff0.jpg
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:112:in `set_sketchup_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:100:in `block in apply_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:118:in `preserving_size'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:96:in `apply_texture'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/vray_to_sketchup_material_translator:12:in `apply'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:37:in `block in to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:50:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/helpers:50:in `initialize'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `new'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/special_objects/material_sync:24:in `to_sketchup'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:62:in `handle_plugin_change'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:10:in `block (2 levels) in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `each'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/callbacks/callbacks:9:in `block in <module:Callbacks>'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `call'
        C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/helpers/throttle:31:in `block in handle'
        SketchUp:1:in `call'
        Regards,
        Mousa Abu Doush
        Architect | 3D Artist
        www.sketchuparchive.com

        Comment


        • #5
          I tried to run SketchUp as administrator to see if that could fix the issue, a when I loaded some water materials from the material Library in the Asset Editor, the Asset editor is corrupted, I have attached this error in a txt file:

          Click image for larger version

Name:	Asset Editor.png
Views:	1058
Size:	110.3 KB
ID:	984661

          Attached Files
          Regards,
          Mousa Abu Doush
          Architect | 3D Artist
          www.sketchuparchive.com

          Comment


          • #6
            Thank you for posting all this.
            Will investigate the first issue.
            The second one is already known, the dev team is onto it!

            Kind regards,
            Peter
            Peter Chaushev
            V-Ray for SketchUp | V-Ray for Rhino | Product Specialist
            www.chaos.com

            Comment


            • #7
              Thanks Peter!
              Regards,
              Mousa Abu Doush
              Architect | 3D Artist
              www.sketchuparchive.com

              Comment


              • #8
                I'm experiencing these issues as well.

                Comment


                • #9
                  Originally posted by sketchup_archive View Post
                  When I open the Ruby Console, it gives this error :
                  Error: #<TypeError: reference to deleted Entity>
                  ...
                  We are having a hard time reproducing this on our side. I have attached a zip with a materials_observer.rbc file. Please place the rbc file in "C:\Program Files\Chaos Group\V-Ray\V-Ray for SketchUp\extension\ruby\observers" and let us know if this fixes the issue. This should stop the errors from being thrown. We shall see if it also avoids the actual replacing of materials.
                  Attached Files
                  Last edited by noel.warren; 01-03-2018, 07:09 AM.

                  Comment


                  • #10
                    Hi,

                    I have tried that, but it didn't fix the issue, V-ray materials which have SketchUp images preview are not loaded in the scene.
                    Currently I am using V-ray on machine that has Windows 10, this issue seem occur only on windows 7.
                    Regards,
                    Mousa Abu Doush
                    Architect | 3D Artist
                    www.sketchuparchive.com

                    Comment


                    • #11
                      Hi,

                      I have the same issue.
                      I work on W7 pro (SP1) + SketchUp pro 2017 + VRay 3.60.02
                      Replace the "materials observer" have no effect.

                      For exemple:
                      Work "Leather_C01_Brown_25cm" or "Metal_Painted_Red_5cm"
                      Don't work "Veneer_D01_120cm" or "Paper_F_6cm"

                      Don't work when we have an image in diffuse slot?
                      Last edited by emilien; 08-03-2018, 08:55 AM.

                      Comment


                      • #12
                        Same here: https://www.youtube.com/watch?v=Kt-D...ature=youtu.be

                        Comment


                        • #13
                          Hi,

                          Try to use the fix in this thread:
                          https://forums.chaosgroup.com/forum/...en-in-sketchup
                          Regards,
                          Mousa Abu Doush
                          Architect | 3D Artist
                          www.sketchuparchive.com

                          Comment


                          • #14
                            This solution works, thank you!

                            Comment


                            • #15
                              Originally posted by sketchup_archive View Post
                              Hi,

                              Try to use the fix in this thread:
                              https://forums.chaosgroup.com/forum/...en-in-sketchup
                              The two issue may indeed be one and the same, yes. The fix that was posted in the other thread has already been merged. Can you confirm this issue is no longer reproducible in the nightlies, Mousa? If so, we can consider this resolved. Thanks

                              Comment

                              Working...
                              X