itisnajim / SocketIOUnity

A Wrapper for socket.io-client-csharp to work with Unity.
MIT License
393 stars 67 forks source link

Install error #14

Closed WeroCode closed 2 years ago

WeroCode commented 2 years ago

image

installed the latest version through Package Manager

itisnajim commented 2 years ago

newer versions of unity not supported yet, try this url instead to install (with the #v1.0.0 suffix) https://github.com/itisnajim/SocketIOUnity.git#v1.0.0

if not working, choose a lower version of unity and install via https://github.com/itisnajim/SocketIOUnity.git

jingfu-wei commented 2 years ago

Actually errors shown above do not relate to versions of unity. It was due to the lack of Reactive module of your local .Net environment. Reactive can be found on NuGet.

I had the same problem with the latest version, and my I am using Unity 2021.3. Eventually, I resolved it by installing Reactive with NuGetForUnity. Once you install Reactive to your project, errors that shown in the screenshot should be gone after you restart the editor.

WeroCode commented 2 years ago

Okay, thanks

WeroCode commented 2 years ago

Your two methods work great, thank you!