magicblock-labs / Solana.Unity-SDK

Open-Source Unity-Solana SDK with Full RPC coverage, NFT support and more
https://solana.unity-sdk.gg
MIT License
157 stars 89 forks source link

Solana conflicts with WebGL multiplayer SDK like Photon Fusion. #229

Open HussainTechGee opened 1 month ago

HussainTechGee commented 1 month ago

This SDK conflicts with any other package that needs a WebSocket-sharp DLL, such as any WebGL multiplayer SDK, such as Unity Netcode and Fusion. Solana SDK has some odd, modified version of the DLL, so removing the others won't solve the problem because the one delivered with this product doesn't work as expected and breaks any WebGL multiplayer game. You cannot remove the one shipped with Solana SDK because it breaks the build.

vpantw commented 1 month ago

Confirmed, found it yesterday. There is a version conflict between the websocket-sharp-latest and websocket-sharp, which appeared after installing Cloud Code. I have tried everything. websocket-sharp-latest, Version=1.0.2.0 and 'websocket-sharp, Version=1.0.2.18559

HussainTechGee commented 1 month ago

@vpantw did you find any solution?

vpantw commented 1 month ago

@vpantw did you find any solution?

No, I have excluded installing Cloud Code at this stage. The rest works..

tulfix commented 1 week ago

I solved removing websocket-sharp.dll in a photon folder... it's because there are 2 websocket files