인프런 커뮤니티 질문&답변
UnassignedReferenceException에 대해 문의드립니다.
작성
·
9.8K
0
UnassignedReferenceException: The variable _player of CameraController has not been assigned.
You probably need to assign the _player variable of the CameraController script in the inspector.
CameraController.LateUpdate () (at Assets/Scripts/Controllers/CameraController.cs:29)
위 오류가 뜨면서 실행하면 카메라가 플레이어를 따라가지 않습니다. 올린 파일을 그대로 사용해도 여전히 오류가 생기네요.
유니티와 비주얼 스튜디오 버전은 최신버전입니다.
답변 2
3
0





