proyecto26 / RestClient

🦄 A Promise based REST and HTTP client for Unity 🎮
https://assetstore.unity.com/packages/slug/102501
MIT License
1.24k stars 174 forks source link

Does not work on Unity 5.6.1f1 #12

Closed BoRuDar closed 6 years ago

BoRuDar commented 6 years ago

Unity version: 5.6.1f1 OS: Windows 7 Crashes with error:

MissingMethodException: Method not found: 'UnityEngine.Networking.UnityWebRequest.set_timeout'.
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
Proyecto26.StaticCoroutine:StartCoroutine(IEnumerator)
Proyecto26.RestClient:GetArray(RequestHelper, Action`2)
Proyecto26.RestClient:GetArray(RequestHelper)
MainScript:Get() (at Assets/RestClient/DemoScene/Scripts/MainScript.cs:20)
UnityEngine.EventSystems.EventSystem:Update()
jdnichollsc commented 6 years ago

Same issue reported here https://github.com/proyecto26/RestClient/issues/6

BoRuDar commented 6 years ago

Thanks for the fast answer. Specify this in Readme please.

jdnichollsc commented 6 years ago

@BoRuDar Can you update your Unity version or the 5.6.1f1 version is required for your project?

jdnichollsc commented 5 years ago

@BoRuDar any good comment from the Unity Asset Store would be really appreciated :)

Tehmasip commented 5 years ago

Anyone found the solution

jdnichollsc commented 5 years ago

This plugin works with the UnityWebRequest system :)

Tehmasip commented 5 years ago

SO WHAT SHOULD I DO?

Tehmasip commented 5 years ago

ITS WRKING IN 2018 BUT NOT IN VERSION 5.6

Tehmasip commented 5 years ago

KINDLY GUIDE A BIT

jdnichollsc commented 5 years ago

As you can see from the Unity Store the supported Unity versions are 2017.1.5 or higher 👍 https://assetstore.unity.com/packages/tools/network/rest-client-for-unity-102501