Could not get CharacterController on XR Origin (XR Rig) (UnityEngine.GameObject), unable to drive properties. Ensure there is a CharacterController on the "Rig" GameObject of XR Origin (XR Rig) (Unity.XR.CoreUtils.XROrigin).
UnityEngine.XR.Interaction.Toolkit.CharacterControllerDriver:Start () (at ./Library/PackageCache/com.unity.xr.interaction.toolkit@2.5.3/Runtime/Locomotion/CharacterControllerDriver.cs:115)
문제 접근
DiverController 물리연산을 위해 Rigidbody를 도입한 결과 CharacterController를 사용할 수 없게 되었음
CharacterController는 XR 환경에서 움직일 때 Cylinder Collider가 플레이어 몸에 붙어서 잘 따라오게 만들었음
CharacterController의 역할을 대체하는 새로운 스크립트가 필요하다는 결론에 이름
오류 로그
문제 접근
작업 내용
XR Interaction Setup
프리팹 이름을XR Physics
로 변경