Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with latest Unity version 2021.3.6f1 #18

Open
SynthKittenDev opened this issue Jul 19, 2022 · 7 comments
Open

Issue with latest Unity version 2021.3.6f1 #18

SynthKittenDev opened this issue Jul 19, 2022 · 7 comments

Comments

@SynthKittenDev
Copy link

Hi there,

Upon installing this plugin on Unity 2021.3.6f1, I get this error. I have tried this in a fresh 3D template, 3D URP template and 3D HDRP template. The same error in them all.

I'm certain it's due to a new Newtonsoft.Json version, but I don't know how to roll back to 12.0.0.

Screenshot_15
0

@VoxelChunk
Copy link

You can find the fix for this Here, I just fixed it myself thanks to another post down in the forums a bit.

@SynthKittenDev
Copy link
Author

SynthKittenDev commented Jul 19, 2022

You can find the fix for this Here, I just fixed it myself thanks to another post down in the forums a bit.

Hi there, this version doesn't work for me either because it's a different error then the others people were having.

I believe it is due to the fact newtonsoft has updated in this version of Unity and the Sketchfab plugin can't use it since it's not the correct 12.0.0.0 version. Older releases haven't fixed it for me.

I get the same errors:
Screenshot_16

@EmreErdogan
Copy link

I have the same issue with Unity 2021.3.7f1 on macOS Monterey 12.2.1 and SketchfabForUnity-v1.2.2

Screen Shot 2022-07-31 at 14 28 55

@endasil
Copy link

endasil commented Aug 2, 2022

I downloaded the source code from https://github.com/sketchfab/UnityGLTF.git, swapped out the newtonsoft 12 dll in the GLTFSerialization project for 13, build the dll and replaced the old one and got it to work in 2021.3.7. If you want you can grab my package see if it works for you.

https://github.com/endasil/SketchfabForUnityUsingNewtonSoft13/raw/main/SketchfabForUnityUsingNewtonSoft13.unitypackage

@tkd-itsuki
Copy link

@endasil
It worked. You should create a pull request for this fix to help everyone using unity 2021.

@endasil
Copy link

endasil commented Aug 5, 2022

I do not have access to push to that repo, so I can't do that sadly.

@TWiG-US420
Copy link

this fixed it ... thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants