[Android] OnClose Called on Launch
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 6.1k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am using Unity 2018.4.14f1.
and Configuration is set to .Net 4.x and IL2CPP.
i have added websocket-sharp to Assets\Plugins Folder.
Everything works fine on editor..but when i run it on device(Android) it directly calls OnClose everytime.
Any Suggestions would be of great help.
Code file attached for reference.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the attached Socket.txt and reproducing the issue on an Android device with Unity 2018.4.14f1, .NET 4.x, IL2CPP, and websocket-sharp in Assets\Plugins. Inspect the device logs and the OnClose path to determine why the connection closes immediately; done means identifying a reproducible Android-specific cause and documenting a verified fix or workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp, unity
- Domain
- mobile-dev, networking
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100