• 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.

Solved CUA clothing plugin error inquiry

bqbq

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

 
Last edited:
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