Default UGens not being installed when server boots

I have supercollider working on my main computer, trying to finally get it going on the second but the UGens are not being found when I try to boot the server (not talking about sc3-plugins extensions, just UGens that come with the main package).

I was having this problem on an earlier build about a month ago and let it slide, then very recently I purged supercollider and tried building from source again from latest on develop branch, then tried the 3.12 branch. So I don’t think it’s a build issue, more of a config issue more likely.

I am using the default cmake setup. The .so files are in /usr/local/lib/Supercollider/plugins (which is where they are on my working computer as well). I tried linking them into the Platform.systemExtensionDir as well as the Platform.userExtensionDir but that had no effect.

Hopefully this is a simple config fix, but I’m not sure where to look. Thanks for any help!

I am using the default cmake setup. The .so files are in /usr/local/lib/Supercollider/plugins (which is where they are on my working computer as well). I tried linking them into the Platform.systemExtensionDir as well as the Platform.userExtensionDir but that had no effect.

missing .so/.scx plugins is a problem with scsynth’s search paths. typically this happens if you customise ServerOptions ugenPluginsPath or manually start scsynth with the -U command-line option set to something custom. if any of these is non-nil, the default locations won’t be searched.

i.e. you need to include the default plugin location alongside your custom paths…

Server.default.options.ugenPluginsPath = [
	Platform.resourceDir+/+"plugins",
	Platform.userExtensionDir,
	"~/ttest/f0plugins".standardizePath,	//custom path
];

hope that solves your problem.
_f

#|
fredrikolofsson.com musicalfieldsforever.com

Ok, that’s helpful – it does work if I set the Server.default.options.ugenPluginsPath in the session. But it doesn’t seem to be saved for the next session. Is there also somewhere to set it in a config file somewhere, so that it would be persistent?

Ok, that’s helpful – it does work if I set the Server.default.options.ugenPluginsPath in the session. But it doesn’t seem to be saved for the next session. Is there also somewhere to set it in a config file somewhere, so that it would be persistent?

good.
the most common place to set these paths is in your startup file (under linux that’s ~/.config/SuperCollider/startup.scd by default). check the helpfile called ‘Sclang Startup File’
_f

#|
fredrikolofsson.com musicalfieldsforever.com

Perfect! Thanks very much :smiley: