ZBrushCentral

Plugin compile glitch

I’m trying to release a new version of my plugin Ryan’s Tools and the ZSC it creates doesn’t work for other people but it does work for me and I can’t figure out why.

So, more details on the issue… If I have my TXT file with the same name as the ZSC in the Zplugs64 folder, it runs fine. If I move the TXT somewhere else or change it’s name, the plugin won’t work. However, If I use an older version of my plugin ZSC in the Zplugs64 folder (and remove any other versions of it and remove the TXT) it works. Obviously, I can’t distribute the source TXT with the plugin. Because of this new, odd behavior, it seems that there is some bug in how zbrush compiles the script that wasn’t in previous versions?

any suggestions?

Hi Ryan, the only recommendation I can provide for you is to compile the plugin in previous version of Zbrush 2024 or 2022 will works till the Issue is fixed by the developers.
Also it would be useful to report the issue to the support.

I can replicate the issue with 2025, you might have noticed the size of the Zsc file is not the same that when compiling with a previous version.
for example this code :

[ISubpalette, "zplugin:myplugin"]
[IButton, "zplugin:myplugin:test", "", 
    [Note, "hello"]
,,1]

The size once compiled with 2024/2022 is 36KB
the size when compiled with 2025 is 6KB.
Now if you compare both ZSC files into a hexadecimal editor you will notice that a Byte offset is missing from version compiled with 2025.

Best,
Nicolas