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

Solved CUA clothing plugin error inquiry

bqbq

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