MongoDB with Unity - Sintaxe errors


Im trying to connect my Unity project to a MongoDB cloud instance using the mongo-csharp-driver but, after importing the package from github, Unity just gives a ton of errors relating sintaxe for instance “(” , “;” , etc .
I tried using the Net framework 4.X settings but nothing changed. I also tried to change my project from WebGL to Windows platform but the errors are always there.

Does someone know how to solve this ?

Thank you!

Hi, did you manage to fix this?
Got the same problem. Spend a day searching over the internet, but to no avail.