• Hi Guest!

    We are extremely excited to announce the release of our first Beta1.1 and the first release of our Public AddonKit!
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. For access to the Public AddonKit you must be a Creator tier member. Once subscribed, download instructions can be found here.

    Click here for information and guides regarding the VaM2 beta. Join our Discord server for more announcements and community discussion about VaM2.
  • Hi Guest!

    VaM2 Resource Categories have now been added to the Hub! For information on posting VaM2 resources and details about VaM2 related changes to our Community Forums, please see our official announcement here.
Decal Maker

Plugins + Scripts Decal Maker

Download [3 MB]
Why i can't load my presets? it's throwing at me a json error, wtf..
i save a preset of texture, named it test. try to load it with a button = file not found...

wtf is that problem, how something so simple isn't working...it's an issue from my side. this plugin has reputation, i must done something wrong
 
Last edited:
Why i can't load my presets? it's throwing at me a json error, wtf..
i save a preset of texture, named it test. try to load it with a button = file not found...

wtf is that problem, how something so simple isn't working...it's an issue from my side. this plugin has reputation, i must done something wrong
Are you trying to load a preset with a button as the trigger? I know VAM's json loaders can be really picky about file paths.

Vam uses Unity style paths so lets say you want to load a preset named aa.json that you saved in the Saves/PluginData/Chokaphi/DecalMaker/Presets/ folder

The VAM trigger would accept either as the path:

Saves/PluginData/Chokaphi/DecalMaker/Presets/aa.json
OR
Saves\\PluginData\\Chokaphi\\DecalMaker\\Presets\\aa.json



If that is not the problem can you give me a simple scene and I will see what is going wrong. Its possible I have something formatting incorrectly in the current Beta.
 
Last edited:
Are you trying to load a preset with a button as the trigger? I know VAM's json loaders can be really picky about file paths.

Vam uses Unity style paths so lets say you want to load a preset named aa.json that you saved in the Saves/PluginData/Chokaphi/DecalMaker/Presets/ folder

The VAM trigger would accept either as the path:

Saves/PluginData/Chokaphi/DecalMaker/Presets/aa.json
OR
Saves\\PluginData\\Chokaphi\\DecalMaker\\Presets\\aa.json



If that is not the problem can you give me a simple scene and I will see what is going wrong. Its possible I have something formatting incorrectly in the current Beta.
I’ve tested it on versions 49 and 51 — both throw the exact same error. When I save the preset and then load it directly from the plugin, it works fine. But when I try to load the preset via a button, it fails with a 'file not found' error. I was like… WTF? 😂 I’ll try to grab some screenshots. I always struggle with uploading pictures to forums, but I’ll give it a shot.

i find the error.
++++++++++++++++++++
Error-
your error is that the plugin call for different path, he's trying to look for the preset in: /Saves/scene/aa.json
{basically, when you call the 'Load Preset File' from a button trigger on your plugin, he's looking for the preset in: /Saves/scene/}
Solved-
i entered this path instead in the preset named (thru the button): Saves\\PluginData\\Chokaphi\\DecalMaker\\Presets\\aa.json -> and it worked.
so i guess the bug is from where your plugin call the preset, maybe you should change the presets that we save with that plugin into /Saves/scene/ instead, this will instantly remove the bug...but i'm not sure this is your wanted end results, which is understanable.

i'm asking myself, how the fuck i'm playing 3 years without your plugin, he's amazing. thanks
 
Last edited:
I’ve tested it on versions 49 and 51 — both throw the exact same error. When I save the preset and then load it directly from the plugin, it works fine. But when I try to load the preset via a button, it fails with a 'file not found' error. I was like… WTF? 😂 I’ll try to grab some screenshots. I always struggle with uploading pictures to forums, but I’ll give it a shot.

i find the error.
++++++++++++++++++++
Error-
your error is that the plugin call for different path, he's trying to look for the preset in: /Saves/scene/aa.json
{basically, when you call the 'Load Preset File' from a button trigger on your plugin, he's looking for the preset in: /Saves/scene/}
Solved-
i entered this path instead in the preset named (thru the button): Saves\\PluginData\\Chokaphi\\DecalMaker\\Presets\\aa.json -> and it worked.
so i guess the bug is from where your plugin call the preset, maybe you should change the presets that we save with that plugin into /Saves/scene/ instead, this will instantly remove the bug...but i'm not sure this is your wanted end results, which is understanable.

i'm asking myself, how the fuck i'm playing 3 years without your plugin, he's amazing. thanks

EDIT: Looks like I have a bug that wont let a trigger reload the same preset. Will look into that.

Instead of
/Saves/scene/aa.json
Try without the leading /
Saves/scene/aa.json


I just saved a scene with a button to load a preset from Saves/scene/aa.json and it seems to work in the current release.
 
Back
Top Bottom