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

bill_prime

Well-known member
Featured Contributor
Messages
413
Reactions
1,697
Points
93
Website
www.buymeacoffee.com
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