• Hi Guest!

    We are extremely excited to announce the release of our first Beta for VaM2, the next generation of Virt-A-Mate which is currently in development.
    To participate in the Beta, a subscription to the Entertainer or Creator Tier is required. 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.

Question CUA clothing plugin error inquiry

bqbq

Well-known member
Joined
Apr 29, 2024
Messages
81
Solutions
1
Reactions
300
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.

 
The fundamental problem has not been solved, but a workaround has been found.
Dress up your clothes directly from geometry.
Triggers are also possible.
No errors occur.
 
Upvote 0
Back
Top Bottom