• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Existing plugins in the folder defined by SAMPLER_PLUGIN_PATH can crash Sampler

Explorer ,
Apr 12, 2024 Apr 12, 2024

Copy link to clipboard

Copied

Hi wanted to report a bug that I encountered when autoloading plugins from the folder specified by SAMPLER_PLUGIN_PATH. If the zip file is still in the SAMPLER_PLUGIN_PATH folder when you start Sampler and the plugin has already been installed, Sampler crashes.  As a workaround I've included code in my plugins to remove the zip file after the plugin has been loaded.

 

See more details in this post:

https://community.adobe.com/t5/substance-3d-sampler-discussions/is-there-a-way-to-automate-plugin-in...

 

Also separate question. Seems like whenever I create a new post the response is usually pretty quick but when I reply to an existing thread, I usually get no response. Do you prefer if we keep creating new posts or replying to existing threads when we'd like to continue the discussion?  Thanks!

Bug Unresolved
TOPICS
Scripting

Views

106

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
3 Comments
Adobe Employee ,
Apr 15, 2024 Apr 15, 2024

Copy link to clipboard

Copied

Hello,

 

Thanks for reporting the issue. We will investigate.

 

Indeed, I missed your following answers on the previous thread. Usually, it's better to keep one topic per thread and open new threads for new problems.

Thanks

Votes

Translate

Translate

Report

Report
Explorer ,
Apr 18, 2024 Apr 18, 2024

Copy link to clipboard

Copied

Thanks for the reply Baptiste! Other than that issue, the SAMPLER_PLUGIN_PATH variable works as expected. However, automating the setup of the environment variable during our plugin installation so that it's set whenever Sampler is opened is a bit trickier, especially for mac.
Would it be possible to add a setting in Sampler to adjust the SAMPLER_PLUGIN_PATH or have a way to specify that folder in the API?

Thanks

Votes

Translate

Translate

Report

Report
Adobe Employee ,
Apr 30, 2024 Apr 30, 2024

Copy link to clipboard

Copied

LATEST

We were able to reproduce the issue and fixed it for the next release.

 

Indeed, we're looking at having a default path (like Documents/Adobe/Sampler/Scripts) that Sampler will parse at start-up. It could simplify the environment set-up. No ETA yet.

Votes

Translate

Translate

Report

Report