private void Awake()
        {
            attachJoint = GetComponent <FixedJoint>();
            hasAnimator = animator != null;
            controller  = gameObject.GetComponent <WebXRController>();
#if WEBXR_INPUT_PROFILES
            if (inputProfileObject != null)
            {
                inputProfileLoader = inputProfileObject.GetComponent <InputProfileLoader>();
                if (inputProfileLoader == null)
                {
                    inputProfileLoader = inputProfileObject.AddComponent <InputProfileLoader>();
                }
                var profilesPaths = inputProfileLoader.GetProfilesPaths();
                if (profilesPaths == null || profilesPaths.Count == 0)
                {
                    inputProfileLoader.LoadProfilesList(HandleProfilesList);
                }
                else
                {
                    HandleProfilesList(profilesPaths);
                }
            }
#endif
            SetControllerVisible(false);
            SetHandJointsVisible(false);
        }