sta / sta/websocket-sharp

websocket-sharp doesn't work with IL2CPP

Open
#562 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
6.1k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

it's really great , easy to use but after Google Play Store told us that we must upload 64bit apps
i tried to export APK but the compiler give me an error this time .

Assets\Scripts\NetWorkManager.cs(5,7): error CS0246: The type or namespace name 'WebSocketSharp' could not be found (are you missing a using directive or an assembly reference?)

when i tried to go back to mono instead of IL2CPP it works fine .

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the IL2CPP APK export using the setup that reports Assets\Scripts\NetWorkManager.cs(5,7), then compare it with the working Mono export. Trace why the WebSocketSharp namespace is unavailable under IL2CPP; done means the namespace resolves and the IL2CPP build completes without this compiler error.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp, unity
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.