CUA clothing plugin.
An error occurs.
If I simply click on the CUA outfit with the mouse, it loads normally.
However, when I load it as a preset through a trigger, an error like this occurs.
!> Exception during RestoreFromLast of plugin#1_Stopper.CUAClothing: System.NullReferenceException: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at CustomUnityAssetLoader.RemoveData () [0x00000] in <filename unknown>:0 at CustomUnityAssetLoader.SyncAssetName (System.String assetName) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.set_val (System.String value) [0x00000] in <filename unknown>:0 at Stopper.CUAClothing.<Init>m__0 (System.String name) [0x00000] in <filename unknown>:0 at JSONStorableString.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableString.set_val (System.String value) [0x00000] in <filename unknown>:0 at JSONStorableString.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0 !> Exception during RestoreFromLast of plugin#2_Stopper.CUAClothing: System.NullReferenceException: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at CustomUnityAssetLoader.RemoveData () [0x00000] in <filename unknown>:0 at CustomUnityAssetLoader.SyncAssetName (System.String assetName) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.set_val (System.String value) [0x00000] in <filename unknown>:0 at Stopper.CUAClothing.<Init>m__0 (System.String name) [0x00000] in <filename unknown>:0 at JSONStorableString.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableString.set_val (System.String value) [0x00000] in <filename unknown>:0 at JSONStorableString.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0
Once the error occurs, it can no longer be loaded even by clicking with the mouse, as shown in the video below, unless a hard reset is performed.
An error occurs.
If I simply click on the CUA outfit with the mouse, it loads normally.
However, when I load it as a preset through a trigger, an error like this occurs.
!> Exception during RestoreFromLast of plugin#1_Stopper.CUAClothing: System.NullReferenceException: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at CustomUnityAssetLoader.RemoveData () [0x00000] in <filename unknown>:0 at CustomUnityAssetLoader.SyncAssetName (System.String assetName) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.set_val (System.String value) [0x00000] in <filename unknown>:0 at Stopper.CUAClothing.<Init>m__0 (System.String name) [0x00000] in <filename unknown>:0 at JSONStorableString.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableString.set_val (System.String value) [0x00000] in <filename unknown>:0 at JSONStorableString.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0 !> Exception during RestoreFromLast of plugin#2_Stopper.CUAClothing: System.NullReferenceException: at (wrapper managed-to-native) UnityEngine.Component:get_transform () at CustomUnityAssetLoader.RemoveData () [0x00000] in <filename unknown>:0 at CustomUnityAssetLoader.SyncAssetName (System.String assetName) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableStringChooser.set_val (System.String value) [0x00000] in <filename unknown>:0 at Stopper.CUAClothing.<Init>m__0 (System.String name) [0x00000] in <filename unknown>:0 at JSONStorableString.InternalSetVal (System.String s, Boolean doCallback) [0x00000] in <filename unknown>:0 at JSONStorableString.set_val (System.String value) [0x00000] in <filename unknown>:0 at JSONStorableString.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at JSONStorable.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0 at Atom.RestoreFromLast (.JSONStorable js) [0x00000] in <filename unknown>:0
Once the error occurs, it can no longer be loaded even by clicking with the mouse, as shown in the video below, unless a hard reset is performed.