itisnajim / SocketIOUnity

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

Unity 2020.3.14f Import errors #1

Closed mkwozniak closed 2 years ago

mkwozniak commented 2 years ago

image

Brand new project, imported from package manager. Any idea how to fix this?

itisnajim commented 2 years ago

I see that you are using Nuget to install some packages like System.Text.Json and Newtonsoft-json, just remove/uninstall them from Nuget, SocketIOUnity already comes with these packages

mkwozniak commented 2 years ago

That was indeed an issue, and after a while I managed to fix it.

I had another package (Veggie Studio Pro) which used the Jobs package, which in turn used the unity.com.collections (System.Runtime.CompilerServices) package. This was creating assembly name conflicts. After updating the Jobs package and manually dragging the DLL's into the Assets folder, all is working. Unfortunately I am not able to use the git url with the package manager because of this. Thanks for the response.