-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Not connect to socket io server on android #33
Comments
try upgrading unity; |
@itisnajim I am using the unity 2021.3.30f1 LTS version but I am not able to connect to the server on mobile devices, it's connecting fine with the editor. Any help is highly appreciated. |
try these: |
it's not connecting with il2cpp in unity android |
Anyone found a fix for this? Cant get it to work on android on 2021.3.8f1 |
@ScottasM update your Unity to 2022.3.10f1 or Change and try between the Faster (smaller) builds option/ Faster runtime option at player setting for Android. Faster runtime option might work. |
@devalvitec Nope, still not working. Updated the unity version, tried changing the build options. |
Im also building with il2cpp if that matters |
what are the error exactly you are getting ? |
@devalvitec Im getting no errors, nothing happens. Not even the OnError gets called. |
Okay, after 4 days of this torture i fixed it. what i had to do was : and then in my flask socketio app i changed the path to point from certificate.crt to chained.pem |
@ScottasM |
Try this if solve your issue: |
hey guys i stuck on this issue too, on local work on unity editor and android. but when trying to connect to server nothing happens. `
i trying to use TransportProtocol.Polling and TransportProtocol.WebSocket but still same problem |
i fix after doing this |
Hi there, I couldn't get it to connect on the Android phone. It works fine in Unity editor. Scripting backend IL2CPP api Compatibility level .Net Framework. I also use server-side codes in another react native application. I don't think there is a problem on the server side. Socket versions Unity side v1.0.0 , server side v4.1.3. I opened a project from scratch and pulled the unity side to v1.1.3 and the server side to v4.5.4, but it still didn't work. I would be glad if you can help.
The text was updated successfully, but these errors were encountered: