【发布时间】:2019-08-10 22:15:38
【问题描述】:
以下内容曾在 PC Unity Editor 和我的移动设备上运行:
WWWForm Fields = new WWWForm();
Fields.AddField("dummy","");
UnityWebRequest www = UnityWebRequest.Post(Apis.internetTest, Fields);
yield return www.SendWebRequest();
在我的移动设备上更新 Android 操作系统后,它总是会返回“未知错误”。
所以现在,我的游戏可以在一些旧手机上运行,但不能在更新了 Android 操作系统的手机上运行。
我正在使用 Unity 2018.4.2f1。我该如何解决这个问题?
参考:UnityWebRequest。
Apis.internetTest 是:
http://quizjungle-app.com/internet-test
【问题讨论】:
-
您能否将
Apis.internetTest的值添加到您的问题中?顺便说一句,更好的参考链接可能是API
标签: c# android unity3d updates unitywebrequest