Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

JSON Newtonsoft >> "The type or namespace name 'Plastic' does not exist in the namespace 'Unity'"

$
0
0
Hello everyone, I recently decided to create a new project and import my previous assets (without plugins, etc.) in order to have a clean project. Among other things I had problems with the package Newtonsoft.Json, probably because it was included into unity some month ago. . So, in my new project I added the following package, which should be the official unity package if I am not mistaken: ![alt text][1] In Visual Studio I had the expected error before adding the using line. ![alt text][2] I followed the suggestion and added using Unity.Plastic.Newtonsoft.Json; and the error disappeared within Visual Studio as expected. . However, back in Unity I now get the following error log: The type or namespace name 'Plastic' does not exist in the namespace 'Unity' (are you missing an assembly reference?) Even after some research I do not understand what exactly is the problem or where something is missing and I hope you can help me. [1]: /storage/temp/205330-newtonsoft-package.jpg [2]: /storage/temp/205331-jsonconvert-resolutions.jpg

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>