Solved Error lFootControl when loading presets pos

supperGR

New member
Messages
6
Reactions
1
Points
3
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
Back
Top Bottom