この記事でのバージョン
Unity 2022.2.2f1
はじめに
今回は以下のような警告とエラーが出た場合の原因と対処法の紹介です!
![]() |
[Warning] [07:20:51] Non-secure network connections disabled in Player Settings
[Error] [07:20:51] Job failed with exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Insecure connection not allowed
at (wrapper managed-to-native) UnityEngine.Networking.UnityWebRequest.BeginWebRequest(UnityEngine.Networking.UnityWebRequest)
at UnityEngine.Networking.UnityWebRequest.SendWebRequest () [0x00001] in /Users/bokken/build/output/unity/unity/Modules/UnityWebRequest/Public/UnityWebRequest.bindings.c