I am doing a project on AI car using Unity 3D. Unity sends car related data to a python client, python client processes the data and sends steering and acceleration value. I initialize all car data in a class, then using JsonConvert.SerializeObject() from Newtonsoft.json(Json.net) I convert it into a json string and send the string through a normal socket.
This process works fine in editor mode, but for the build json parsing does not work. I have added the Newtonsoft.json.dll in unity Assets/Plugins. It still does not work. In player settings, I have tried both dot net 4.6 and 3.5 as script runtime version and 4.6/2.0 subset for API compatibility with no success.
What can I do to solve this?