socket.io-unity icon indicating copy to clipboard operation
socket.io-unity copied to clipboard

No connection event is fired

Open ZioCain opened this issue 7 years ago • 2 comments

Developing with Unity 2017.2.0f3 64bit on MacOSX for Nibiru and Pico (VR headsets with an OS derived from Android)

When I try to connect from the editor no problem, but from the headsets it always fails, I don't know wether it's a plugin problem or something else like the system itself

Edit:

  • the same exact code works flawlessly on iOS and Android which makes me wonder where the problem is
  • when the headset tries to connect it is seen by the server as "device connected with socket id: XXX, IP: XXX.XXX.XXX.XXX" but disconnects instantly (client side)
  • the used code is the one in the example given by the plugin

ZioCain avatar Apr 04 '18 12:04 ZioCain

Same thing on WebGL build

IlyaVorozhbit avatar Apr 04 '18 15:04 IlyaVorozhbit

Ok I solved the whole issue by changing the scripting runtime version from "Stable 3.5" to "Experimental 4.6"

ZioCain avatar Apr 05 '18 09:04 ZioCain