Solved CUA clothing plugin error inquiry

bqbq

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