2020, 2021 Plugin Loading errors

Hello,

I am having issues with certain plugin loading when I open SketchUp Pro 2020 and 2021

I have load errors with

  • Delaunay Mesh
  • LibFredo6
  • Soak Skin Bubble
  • S4u Makeface
  • SU Advanced Camera tools
  • SU Dynamic Components
  • Sandbox
  • SU Trimble Connect

I can see and use the following

  • Enroth Face Creator
  • Weld
  • Su4Sv
  • CleanUp 3
  • Edge tools

The error message is:

Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Delaunay_mesh/Delaunay_mesh_menus.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6/top_LibFredo6.rbe
Failed to read RBE/RBS file.
Error Loading File Fredo6_!LibFredo6.rb
Error: #<NameError: uninitialized constant LibFredo6_Loader::LibFredo6>
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:63:in `process'
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:70:in `<module:LibFredo6_Loader>'
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:28:in `<top (required)>'
Error Loading File Fredo6_TopoShaper.rb
Error: #<TypeError: can't convert nil into an exact number>
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in `-'
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_!LibFredo6.rb:79:in `<top (required)>'
C:/Program Files/SketchUp/SketchUp 2020/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
C:/Program Files/SketchUp/SketchUp 2020/Tools/RubyStdLib/rubygems/core_ext/kernel_require.rb:59:in `require'
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_TopoShaper.rb:47:in `<module:Fredo6>'
C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/Fredo6_TopoShaper.rb:26:in `<top (required)>'
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/SoapSkinBubble/SoapSkinBubbleMenus.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/s4u_makeface/s4u_makeface_loader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_advancedcameratools/actloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_dynamiccomponents/ruby/dcloader.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe
Failed to read RBE/RBS file.
Error Loading File C:/Users/BenPhillips/AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_trimble_connect/boot.rbe
Failed to read RBE/RBS file.

I have tried the following:

  • Re-installation of SketchUp, install file run as admin
  • repair installation of Sketch Up, install file run as admin
  • checked appdata permissions
  • Reinstall Plug ins / extensions
  • run ruby console on some of the plugins to check that the files are actually there and can be seen in their location, all results = true

This seems to be a common problem for many users yet there doesn’t seem to be a ā€˜fix’ as yet, unless I am missing something.

Does anyone have any ideas to resolve this so that the plug ins will work?

Thanks

Yes. This is common when users copy extensions from an older SketchUp installation instead of installing them fresh from their sources. The solution is to install all of your extensions fresh and not copy them over. Many extensions require updates to work with the new version of SketchUp. Many have already been updated although there are surely still a few that need updating or that the authors are no longer supporting.

You might start by deleting the Plugins folder in User/App Data/…/SketchUp 2021/SketchUp and then start over.

OK, thanks.

So to confirm, delete all plugins in the appdata folder then reinstall from recent downloads / installer files?

In User/AppData…

You should be installing extensions from the Extension Warehouse using the Extension Warehouse user interface in SketchUp. If you are getting extensions from Sketchucation, use the Sketchucation Plugin Store tool to install those.

try to download the updated plugins, and install the plugin one by one, run the sketchup, those plugins that give an error delete and check the update

The problem with loading the ā€˜shipped extensions’ [the ones that start su_…] can [still] be indicative of SketchUp being installed incorrectly…

To reiterate the steps to try to fix that issue…

Ensure SketchUp/Layout are both closed.
While you are logged into your normal Windows user-account, find the relevant SketchUp installer’s exe file in your Downloads folder.
Select its icon and right-click > context-menu > ā€œRun as administratorā€
When prompted choose ā€œRepairā€ā€¦
When it completes restart SketchUp and check the error messages… the su_… failures should have gone at least - of course you might have multiple non-compatible extensions copied over from an older version… you should also reinstall extensions with any SketchUp version change - sometimes an author makes a subtle update to maintain cross-version compatibility - it avoids heart-ache…

Also ensure that you do have the latest versions of LibFredo [and TT_Lib] installed, as these will probably have had compatibility updates… SoapSkinBubble might also have a newer compatible version available ?

I don’t know about the few others you listed…

1 Like

Some listed were very old indeed. That doesn’t mean by itself that they won’t work - Some that I use are at least as old. I suspect the Delaunay mesh.

Note that you don’t need Weld, it is built in the newer versions of SketchUp.

Update:
I have managed to resolve most of these errors thanks to your help, however a few persist:

  • Advanced camera
  • Dynamic Components
  • Sandbox
  • Trimble Connect

No matter of uninstall or delete appdata will resolve the loading issues with these plugins. When deleted, the offending plugins always re-appear in the appdata folder as soon as sketchup is restarted.

AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_advancedcameratools/actloader.rbe
Failed to read RBE/RBS file.
AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_dynamiccomponents/ruby/dcloader.rbe
Failed to read RBE/RBS file.
AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_sandbox/sandboxmenus.rbe
Failed to read RBE/RBS file.
AppData/Roaming/SketchUp/SketchUp 2020/SketchUp/Plugins/su_trimble_connect/boot.rbe
Failed to read RBE/RBS file.

Any thoughts?

The ā€˜shipped extensions’ [starting with su_…] always ā€˜load’ [ although they can be switched off in the Extension Manager ].
Whenever SketchUp starts it checks and copies these 4 files from it special subfolder, into your Plugins folder, where they ā€˜load’.
So if you remove them from your Plugins folder they will always reappear, as SketchUp will copy them in.
It can’t be stopped unless you delete the ShippedExtensions folder itself - but then any re-installation/repair will recreate them again !
The source of them is:
C:\Program Files\SketchUp\SketchUp 2020\ShippedExtensions

As I said above the failure to load these files is indicative of SketchUp not being installed properly - leading to permission issues…

To re-reiterate the steps to try to fix that issue…

Ensure SketchUp/Layout are both closed.
While you are logged into your normal Windows user-account,
find the relevant SketchUp installer’s exe file in your Downloads folder.
Select its icon and right-click > context-menu > ā€œRun as administratorā€
When prompted choose ā€œRepairā€ā€¦

Installing the exe in any other way will not give the required results and lead to unpredictable issues…
Never double-click its icon to ā€˜Run’ it - even if you have admin-powers it is NOT the same thing…

2 Likes

Hi TIG,

thanks for assisting in with this issue.

I have the same problem.

I’ve tried the install as admin ā€œfixā€. no joy.

I’ve even tried on a clean windows 10 install. still no cigar.

any other suggestions?

Kind of running out of options here.

Hi Tig,

Having followed your steps to fix -right click, run as admin etc, repair, I still encounter the same issues as originally posted.

I have also tried an un-install, re-install (run as admin) and still the same errors appear.

All previous versions of SU have been removed, as have all previous plugin files etc.

This looks to relate particularly to .RBE files. The errors from the extensions all refer to that filetype, but not .RB files.

I wonder if .RBS files will load on your machine? (The .RBS file format is deprecated so I’m not sure what extension to suggest for testing.)

It loads OK with

Sketchup::require('C:/Users/TIG/AppData/Roaming/SketchUp/SketchUp 2021/SketchUp/Plugins/su_sandbox/sandboxmenus')
false

or returns ā€˜true’ if extension is disabled…
It works with or without the .rbe file-extension in the path.

Hi,
I’ve encountered same issue since Sketchup 2021 update. I couldn’t understand why I managed to have most of the plugins loaded and working, especially the latest 3Dconnexion driver on my Desktop computer but not of my Laptop refusing to load all the plugin even the su_ plugings

Finally, ist’s quite esay to fix:, this did work for me:
-Right click on Sketchup shortcut,
-Properties,
-Combability
-Tick the ā€œRun as administratorā€
Now all is working with most of the Sketchup2020 copied plugins into 2021.
Good luck.
Patrice

That workaround strongly suggests an issue with permissions. When you originally installed SketchUp did you log in as a regular user and right click the installer (not SketchUp itself) and select run as administrator? If not, do so now and select ā€œrepairā€.

Hi
Yes, I’m logged in as the main and only user in Windows.
I did install Sketchup 2021 few times and did run the installer as administrator. The repair as aministrator afterwards did not solved the issue either, so the best I could find after long tries is to open Sketchup as administrator. All problem are solved this way.
Of course you’re correct regarding permisssion that my guesses was also this way and a file access problem but couldn’t find out why. The user folders had all full access.

Don’t copy, install fresh versions.

Hi Patrice,
thank you for your updates and help. I have followed and tried all of the advice above but still I have the original problem. As you can imagine, this is very frustrating.
Thanks,

Hey guys and girls, I had the exact same issue and tried everything here and it still didn’t work. After hours of scrolling through forums I found a post from 2017 with this same issue and found a fix I think? After going through everything in this forum MAKE SURE you run sketchup as admin when you boot it, thats what fixed it for me. Im not talking about running the installer as admin but the actual program after you install it, this finally fixed it for me. Its a permissions issue with 3rd party extensions

You may read somewhere that running as admin isn’t needed, but, in two years of doing SketchUp Support I did have one case where only running as admin would work. I never did figure out what was different about that computer, but it sounds like you have the same issue.