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

Still incompatible with NETCODE for GameObjects because Newtonsoft 12?? #75

Closed
morettyCat opened this issue Feb 1, 2023 · 2 comments
Closed

Comments

@morettyCat
Copy link

You posted last version as it's using Newtonsoft 13, but...

as soon as you install a plugin using Newtonsoft 13 like NETCODE for GameObjects, and then, downloading and installing your latest version, you can quickly see that this release isn't doing what's promising..

Is there any quick fix for that? I really suppose that when you posted a version with the main change "Update of Newtonsoft to 13" it should be included...

Captura de pantalla 2023-02-01 a les 1 35 25

@morettyCat
Copy link
Author

For those who fall into the same hole, I think I found a workarround:

  • Download last version of GameLift plugin for unity
  • Install it (so you will se the errors shown on previous post image)
  • Locate "Package.json" in Packages->Amazon GameLift Plugin for Unity" and edit it with a text editor
  • change on line 17:
"dependencies": {
    "com.unity.nuget.newtonsoft-json": "2.0.0"
  },
  • reimport all
  • the project should not give more errors..

@morettyCat
Copy link
Author

Well, last solution didn't work at all, so I've tried another way with success:

-Go to download the "last release" on oficial last release link

  • Download the packet named "Source Code"
  • Open it up with Visual Studio
  • Compile the solution
  • Add it to unity with Package Manager, "+" Button -> From Disk
  • Browse your downloaded package and select package.json

Now you should have GameLift client with the version of Newtonsoft's dependency at 13.0.1 which is compatible with most moder solutions (like AWS, Netcode...)

Hope this helps, and for this package managers, being Amazon the company who is beyond, is so so hard to see how less important is this project for you, is it that difficult to compile correctly the solution before posting it? Or even worse, is anybody trying to help people out there?

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

1 participant