Can I use Socket IO Emit and listener if I already imported PUN Classic?
Options
Hello @JohnTube How are you
I am going to use Socket IO asset on my new game project.
But I already imported PUN Classic asset. (I think PUN Classic uses Socket.io)
So If I import both Socket.IO asset and the PUN Classic asset, about 80+ errors are showing up. (duplicated dependencies and other errors).
But when I import socket.io on a clean project, no errors showing up.
The URL of the socket.io asset is https://assetstore.unity.com/packages/tools/network/socket-io-for-unity-21721
Anyway, I have to use Socket.IO(to communicate with PHP server) and I also have to use PUN Classic for the Unity Networking.
Can I still import Socket.IO without errors? Or can I use PUN Classic to work likes a Socket.IO Client for the Nodejs Socket.IO server?
Please help me to figure this problem out.
Thanks, Any help is appreciated.
I am going to use Socket IO asset on my new game project.
But I already imported PUN Classic asset. (I think PUN Classic uses Socket.io)
So If I import both Socket.IO asset and the PUN Classic asset, about 80+ errors are showing up. (duplicated dependencies and other errors).
But when I import socket.io on a clean project, no errors showing up.
The URL of the socket.io asset is https://assetstore.unity.com/packages/tools/network/socket-io-for-unity-21721
Anyway, I have to use Socket.IO(to communicate with PHP server) and I also have to use PUN Classic for the Unity Networking.
Can I still import Socket.IO without errors? Or can I use PUN Classic to work likes a Socket.IO Client for the Nodejs Socket.IO server?
Please help me to figure this problem out.
Thanks, Any help is appreciated.
0
Best Answer
-
Yes I can use
0
Answers
-
Yes I can use
0 -
how...?
0