SocketIOUnity
SocketIOUnity copied to clipboard
Multiple precompiled assemblies with the same name
Hi! I'm getting this error after I add the package. It seems that Unity includes Newtonsoft.Json.dll by default, and I don't see a way how I can import yours without it.
Here's the full text of the error:
Multiple precompiled assemblies with the same name Newtonsoft.Json.dll included on the current platform. Only one assembly with the same name is allowed per platform. (/...../Library/PackageCache/com.itisnajim.socketiounity@9068aafaf2/Runtime/libs/Newtonsoft.Json Editor/Newtonsoft.Json.dll)
https://github.com/itisnajim/SocketIOUnity/pull/18 This pull request seems to be talking about the same problem
it seems that it has came back. Its been two days im trying to fix the error and its seems that i could not connect to the server
Solution : Delete manualy the directory Newtonsoft then add in the dependency "com.unity.nuget.newtonsoft-json": "3.0.2" As well do not use the new NewtonsoftJsonSerializer();
Hey, I'm facing the same issue, can you please elaborate about your solution?
Delete manualy the directory Newtonsoft then add in the dependency "com.unity.nuget.newtonsoft-json": "3.0.2"
no need to delete anything, fixed https://github.com/itisnajim/SocketIOUnity/pull/18