sketchfab / unity-plugin

291 stars 39 forks source link

Plugin conflicts with various other plugins that reference Newtonsoft.JSON #22

Open kginstructor opened 1 year ago

kginstructor commented 1 year ago

There are various other plugins using this common JSON utility. The one packaged with this plugin, referenced by GLTFSerialization.dll requires an exact match in version to 12, whereas the others tend to want the newest, currently 13. This causes compilation errors and problems.

Is there a specific reason GLTFSerialization.dll NEEDS version 12 and can't just use the package managers managed version?

click4dylan commented 1 year ago

same issue

endasil commented 1 year ago

I had this issue too so I downloaded the source code and built a version of the GLTFSerialization.dll that uses version 13. I do not know how to make this work with whatever version of unity. But here is a solution to your current problem with ver 13. https://github.com/sketchfab/unity-plugin/issues/18#issuecomment-1203199013