sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🛣️ Road Profile Builder | Generate roads, curbs and pavements easily Download

    Load Error, repeated crash after Vray upgrade

    Scheduled Pinned Locked Moved V-Ray
    renderpluginsextensions
    8 Posts 6 Posters 17.9k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • brooklynia373B Offline
      brooklynia373
      last edited by

      Hi, I upgraded to Vray 3 (and reprogrammed my dongle).
      I am using Windows 8.1 and Sketchup Pro 2018.
      I repeatedly get the message below and then SU crashes. It is unusable.
      This problem is not happening in 2016 and Vray 3 works fine there.

      Error Loading File C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb
      Error: #<StandardError: Failed to initialize V-Ray>
      C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:in require' C:/Program Files/SketchUp/SketchUp 2018/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:54:inrequire’
      C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:1:in <top (required)>' C:/Program Files/SketchUp/SketchUp 2018/Tools/extensions.rb:197:inrequire’
      C:/Program Files/SketchUp/SketchUp 2018/Tools/extensions.rb:197:in load' C:/ProgramData/SketchUp/SketchUp 2018/SketchUp/Plugins/vfs.rb:26:inregister_extension’
      C:/ProgramData/SketchUp/SketchUp 2018/SketchUp/Plugins/vfs.rb:26:in module:VRay' C:/ProgramData/SketchUp/SketchUp 2018/SketchUp/Plugins/vfs.rb:4:in<top (required)>’

      1 Reply Last reply Reply Quote 0
      • 3 Offline
        3dstart
        last edited by

        Just in the plugin folder find su_dynamiccomponents.rb (open it with some ruby editor in the plugin store) and add to the beginning of the code: "UI.start_timer (5, false) {"
        and at the end of the code: “}”. It will load DC plugins after all other (5 = seconds, false) plugins, as well as Vray. So the Vray load will be normal and you will be able to use all the benefits of sketchup and vray.
        Plugin folder on win: C:\Users\User name\AppData\Roaming\SketchUp\SketchUp 2018\SketchUp\Plugins

        1 Reply Last reply Reply Quote 0
        • A Offline
          ark
          last edited by

          Had the same problem, and tried the above solution.
          It works partly - at least Sketchup isn't crashing anymore, but i still get an error message:

          Error Loading File su_dynamiccomponents.rb Error: #<SyntaxError: C:/Users/dbk/AppData/Roaming/SketchUp/SketchUp 2018/SketchUp/Plugins/su_dynamiccomponents.rb:28: syntax error, unexpected ',', expecting ')' UI.start_timer (5, false){ ^>

          Any ideas what's wrong? 😄

          David

          1 Reply Last reply Reply Quote 0
          • brooklynia373B Offline
            brooklynia373
            last edited by

            Update: Chaos group sent a custom build for me to try and it worked with all plugins enabled. I assume this will be an updated release soon.

            1 Reply Last reply Reply Quote 0
            • A Offline
              ark
              last edited by

              Regarding problems with sketchup crashing after installing Vray 3,6 I just received this workaround from Chaos group support:

              *This error seems to be caused by an incompatibility between V-Ray 3.6.1 and Dynamic Components plugin in SketchUp.
              Please try the following:

              1. Uninstall V-Ray
              2. Open Sketchup and from the drop down menu Window --> Extension manager disable Dynamic Components extension. Then create a scene and save it, it doesn`t matter what it will be, the important part is to make a save.
              3. After that close Sketchup, start it again, check in the Extension manager if Dynamic Components is still disabled and close Sketchup again.
              4. Install V-Ray and start Sketchup and try to render with V-Ray.*

              And there will be a sub-release fixing this problem!

              David 😄

              1 Reply Last reply Reply Quote 0
              • D Offline
                DOg1988
                last edited by

                C:/Program Files/Chaos Group/V-Ray/V-Ray for SketchUp/extension/ruby/base_serializer💯in `update_plugin_from_json' подскажите пожалуйста в чем проблема как исправит ь

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Adrianoz Newcomers
                  last edited by

                  @brooklynia373 @ark Hi guys, I am having same issue with Vray 7.00.03 so I tried 7.00.02 version and I got the same problem. Before I was using Vray 6 and there was no problem.

                  Error Loading File C:/Program Files/Chaos/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb

                  Error: #<LoadError: 127: The specified procedure could not be found. - C:/Program Files/Chaos/V-Ray/V-Ray for SketchUp/extension/vray4sketchup2023.so>

                  D:/Sketchup 2023/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in `require'

                  D:/Sketchup 2023/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:92:in `require'

                  C:/Program Files/Chaos/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:45:in `block in <top (required)>'

                  C:/Program Files/Chaos/V-Ray/V-Ray for SketchUp/extension/agreements/agreements.rb:23:in `enforce'

                  C:/Program Files/Chaos/V-Ray/V-Ray for SketchUp/extension/ruby/init.rb:37:in `<top (required)>'

                  D:/Sketchup 2023/Tools/extensions.rb:197:in `require'

                  D:/Sketchup 2023/Tools/extensions.rb:197:in `load'

                  C:/ProgramData/SketchUp/SketchUp 2023/SketchUp/Plugins/vfs.rb:18:in `register_extension'

                  C:/ProgramData/SketchUp/SketchUp 2023/SketchUp/Plugins/vfs.rb:18:in `module:VRay'

                  C:/ProgramData/SketchUp/SketchUp 2023/SketchUp/Plugins/vfs.rb:5:in `<top (required)>'

                  1 Reply Last reply Reply Quote 0
                  • Rich O BrienR Online
                    Rich O Brien Moderator
                    last edited by

                    Just a moment...

                    favicon

                    (support.chaos.com)

                    Best place for support for licensed users

                    Download the free D'oh Book for SketchUp 📖

                    1 Reply Last reply Reply Quote 0
                    • 1 / 1
                    • First post
                      Last post
                    Buy SketchPlus
                    Buy SUbD
                    Buy WrapR
                    Buy eBook
                    Buy Modelur
                    Buy Vertex Tools
                    Buy SketchCuisine
                    Buy FormFonts

                    Advertisement