Original file connection: unity about the error report of newtonsoft. JSON reference!!!! (resolved)_ Xiaoyan can’t write code blog – CSDN blog
I’m afraid the original article will be deleted once.
1、 Download the newtonsoft.json.dll library
https://www.nuget.org/packages/Newtonsoft.Json/
After downloading, change the downloaded file to a. Zip file and unzip it. After decompression, find the newtonsoft.json.dll file in the directory:… \ newtonsoft. JSON. 13.0.1 \ lib \ netstandard2.0 and copy it to the… \ assets \ plugins \ netstandard2.0 directory of unity.
2、 Modify unit settings
ProjectSetting-> Player-> API compatibility level changed to. Net 4. X
Create a new link.xml file in the assets directory of the unity project:
<linker>
<assembly fullname="System.Core">
<type fullname="System.Linq.Expressions.Interpreter.LightLambda" preserve="all" />
</assembly>
</linker>
Read More:
- Junit4 unit test reports an error invalid project specified
- The file server reports an error of 413, and the file uploaded by nginx reports an error of 413 request entity too large
- When websocket transmits JSON text, the parse method reports an error
- Mybatis uses step-by-step lazy loading to cause abnormal JSON conversion. The interface 500 reports an error
- Android studio reports an error when building AAR for unity
- Vs2019 + QT parses the XML file and reports an error at doc.setcontent (& file)
- Redis reports an error when integrating springsecurity: could not read JSON: unrecognized field “enabled”“
- QT + MySQL generates an EXE file and reports an error “driver not loaded”. Solution steps
- Python calls C to generate so library and reports an error: undefined symbol
- Android reports failed linking file resources
- Imshow() reports an error after C + + opencv 4.5.1 configures the environment
- JD GUI decompiles class file and reports internal error
- [actual record of Android stepping on the pit] Android studio reports an error invalid gradle JDK configuration found after importing the project
- Unable to read workspace file ‘D:\angular.json‘: Invalid JSON character: “ “ at
- The C language qsort() function reports an error for overflow of – 2147483648 and 2147483648
- Vue introduction path is correct, but it always reports an error: already included file name‘ ××ב differs from file name ‘ ××ב only in casing.
- Configuration file for vscode setting.json UI interface or JSON form
- Android stdio reports an error: “XXX keeps stopping” solution
- C++ Error: allocating an object of abstract class type