-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not be used with unity3d when build onto android or ios platform #804
Comments
i'm going to need a little more information than it doesn't work. are you seeing an error message? |
I know I'm a fair few months late but this post makes it appear that I'm not the only one who's encountered an issue here then... The actual problem I'm having is that the "RestSharp.105.2.3" "net35" version seems to work fine in the Unity Editor but when I build the apk for Android (in a project built for Android API Level 19 "Kit Kat") I get the below error. It appears that the .dll is somehow loading, because I'm not getting a "TypeLoadException: A type load exception has occurred." as I was when the .dll was failing to load. However, the constructor for the RestClient can't be found - any ideas? ArgumentOutOfRangeException: Argument is out of range. |
just install 105.1.0 |
Is it possible to fix this error? I can't use the last version of RestSharp (current 105.2.3) in unity with mobile build
I just do a new instance of RestClient() in |
You can try the new .NET Standard library out of the pre-release package and see if it is compatible with your platform. |
@nankink Any news on this issue ? Do you know the supported Unity platforms on the latest version ? |
The issue is closed. Someone who needs RestSharp to work with Unity should implement it, or at least test it. |
In editor,it's Ok. while not work on mobilephone
The text was updated successfully, but these errors were encountered: