sta / websocket-sharp

A C# implementation of the WebSocket protocol client and server
http://sta.github.io/websocket-sharp
MIT License
5.67k stars 1.65k forks source link

websocket-sharp doesn't work with IL2CPP #562

Open MohammadGrandMasterOfPhp opened 5 years ago

MohammadGrandMasterOfPhp commented 5 years ago

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 .

emaadgh commented 4 years ago

I'm using WebSocketSharp in my game and it's fine with IL2CPP. Maybe your dll file was not built correctly?

VSWORK-admin commented 3 years ago

I use Unity2019.2.16 publish Windows IL2CPP exe not work, android IL2CPP apk is OK