• Hi Guest!

    We have posted a new VaM2 dev log on Patreon, starting a monthly cadence of written progress updates between Beta releases. Highlights include the new Gizmos System, Selection Carousel, and Modes System with Context-Specific Editing. Beta1.2 is 15 of 21 items complete.

    Read the full post on Patreon, or follow progress on the public Trello roadmap.

Can't replicate Saving triggers sometimes get saved with wrong path, causing errors in scene.

bill_prime

Well-known member
Featured Contributor
Joined
Feb 24, 2021
Messages
488
Solutions
3
Reactions
2,034
I have this error pop up quite often, usually when saving a preset for a Empty atom and a Person atom.
In this example I created 2 LoadPresetWithPath triggers, one that loads an Empty atom preset and another that loads a Person clothing preset.
What happens is it saves the EmptyAtom path into the Person ClothingPreset trigger, which causes the error.
See the json below of the triggers, the first one is trying to load an Empty atom preset into a Person ClothingPreset.
I was trying to save the path "Custom/Atom/Person/Clothing/bill_prime/ClothingStripper/Preset_Outfit01.vap"
Maybe because the .vap file name is the same?

JSON:
 {
    "name" : "A_LoadPresetWithPath",
    "receiverAtom" : "Person",
    "receiver" : "ClothingPresets",
    "receiverTargetName" : "LoadPresetWithPath",
    "presetFilePath" : "Custom/Atom/Empty/ClothingStripper/Preset_Outfit01.vap"
},
{
    "name" : "A_LoadPresetWithPath",
    "receiverAtom" : "GirlControls/_ClothingStripper",
    "receiver" : "Preset",
    "receiverTargetName" : "LoadPresetWithPath",
    "presetFilePath" : "Custom/Atom/Empty/ClothingStripper/Preset_Outfit01.vap"
}
 
I just made a test of this and I'm unable to replicate.

JSON:
            {
               "id" : "Trigger",
               "trigger" : {
                  "displayName" : "A_LoadPresetWithPath",
                  "startActions" : [
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Cube",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Cube/Preset_Red.vap"
                     },
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Sphere",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Sphere/Preset_Red.vap"
                     }
                  ],
                  "transitionActions" : [
                  ],
                  "endActions" : [
                  ]
               }
            },
 
I just made a test of this and I'm unable to replicate.

JSON:
            {
               "id" : "Trigger",
               "trigger" : {
                  "displayName" : "A_LoadPresetWithPath",
                  "startActions" : [
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Cube",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Cube/Preset_Red.vap"
                     },
                     {
                        "name" : "A_LoadPresetWithPath",
                        "receiverAtom" : "Sphere",
                        "receiver" : "Preset",
                        "receiverTargetName" : "LoadPresetWithPath",
                        "presetFilePath" : "Custom/Atom/Sphere/Preset_Red.vap"
                     }
                  ],
                  "transitionActions" : [
                  ],
                  "endActions" : [
                  ]
               }
            },

Well, I knew it would be a strange one. Thanks for checking.
I didn't have the issue consistently anyway.
 
Back
Top Bottom