The type or namespace name 'Newtonsoft' could not be found, and more in 2022.2.2f1 update.

Same issue, same fix !

It worked wow Thanks Man!!!

For me, the problem was that Meta XR v72.0.0 packages require Newtonsoft.Json v3.0.2, but Unity installs v3.2.1 by default, I needed to manually install the correct version and ensure Unity doesn’t override it.