• 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 Error lFootControl when loading presets pos

supperGR

Well-known member
Featured Contributor
Joined
Oct 24, 2022
Messages
144
Solutions
1
Reactions
485
I was making a show room with many presets pose button (The 16 buttons correspond to 16 poses),but when i reload this scene and try to switch between different poses through that button,character's feet suddenly twist and move in other directions,Then the following error is displayed:


!> Exception during Restore of rFootControl: System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.ConfigurableJoint:INTERNAL_get_targetRotation (UnityEngine.Quaternion&)
at UnityEngine.ConfigurableJoint.get_targetRotation () [0x00000] in <filename unknown>:0
at CheesyFX.HeelAdjust2.SetFootPose (Single val) [0x00000] in <filename unknown>:0
at CheesyFX.HeelAdjust2.OnJointDriveChanged (Single val) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) JSONStorableFloat/SetFloatCallback:invoke_void__this___single (single)
at JSONStorableFloat.InternalSetVal (Single f, Boolean doCallback) [0x00000] in <filename unknown>:0
at JSONStorableFloat.set_val (Single value) [0x00000] in <filename unknown>:0
at JSONStorableFloat.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 FreeControllerV3.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at MeshVR.PresetManager.Restore (SimpleJSON.JSONClass jc) [0x00000] in <filename unknown>:0
!> Exception during Restore of lFootControl: System.NullReferenceException:
at (wrapper managed-to-native) UnityEngine.ConfigurableJoint:INTERNAL_get_targetRotation (UnityEngine.Quaternion&)
at UnityEngine.ConfigurableJoint.get_targetRotation () [0x00000] in <filename unknown>:0
at CheesyFX.HeelAdjust2.SetFootPose (Single val) [0x00000] in <filename unknown>:0
at CheesyFX.HeelAdjust2.OnJointDriveChanged (Single val) [0x00000] in <filename unknown>:0
at (wrapper delegate-invoke) JSONStorableFloat/SetFloatCallback:invoke_void__this___single (single)
at JSONStorableFloat.InternalSetVal (Single f, Boolean doCallback) [0x00000] in <filename unknown>:0
at JSONStorableFloat.set_val (Single value) [0x00000] in <filename unknown>:0
at JSONStorableFloat.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 FreeControllerV3.RestoreFromJSON (SimpleJSON.JSONClass jc, Boolean restorePhysical, Boolean restoreAppearance, SimpleJSON.JSONArray presetAtoms, Boolean setMissingToDefault) [0x00000] in <filename unknown>:0
at MeshVR.PresetManager.Restore (SimpleJSON.JSONClass jc) [0x00000] in <filename unknown>:0


It looks like there is a problem with both the left and right feet,try restarting but not work..According to the description of the bug report, it seems to be related to CheesyFX's HeelAdjust2 plugin

Try disabling it and saving a new scene, then restart VAM, open this scene, and everything works fine,But I really don't want to disabling this awesome plugin..

Could anyone please help me???
 
Solution
Are you on the latest version of HeelAdjust2? If not, update and see if the issue is still there. If you are, you should report the issue to the author of the plugin, CheesyFX
Are you on the latest version of HeelAdjust2? If not, update and see if the issue is still there. If you are, you should report the issue to the author of the plugin, CheesyFX
 
Upvote 0
Solution
Back
Top Bottom