InvalidOperationException: Insecure connection not allowed
-
[unity] InvalidOperationException: Insecure connection not allowedunity/unity 에러 2023. 10. 4. 14:43
InvalidOperationException: Insecure connection not allowed 유니티에서 서버에 데이터 요청을 하기 위해 코드를 작성하고 실행했습니다. string url = "http://192.168.0.92:93/api/getData"; UnityWebRequest request = UnityWebRequest.Get(url); yield return request.SendWebRequest(); 내부에 테스트하기 위해 구동중인 서버 인데 데이터 요청하면 위와 같은 에러가 나타납니다. 보안 관련된 에러인거 보니 https 가 아니라서 나타나는듯 싶습니다. setting 허용이 필요할거같으니 project settings 에 들어갑니다. 왼쪽 메뉴들 중에 player 를 선..