suriyun-production / turnbase-rpg-docs

This is document for Turnbase RPG project (https://www.assetstore.unity3d.com/#!/content/107578?aid=1100lGeN)
https://suriyun-production.github.io/turnbase-rpg-docs
12 stars 3 forks source link

4 errors on fresh project #205

Closed Syphon77 closed 2 years ago

Syphon77 commented 2 years ago

Getting the below errors on a fresh project. Unity 2020.3.27. Followed the Getting Started guide and restarted Unity. Searching for "Newtonsoft" in Unity did not yield any results.

Assets/RPGGame/Core/Scripts/GameService/Implement/LiteDb/LiteDbGameService.cs(6,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

Assets/RPGGame/Core/Scripts/GameService/Implement/SQLite/SQLiteGameService.cs(6,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

Assets/RPGGame/Core/Scripts/GameService/Implement/SQLite/SQLiteGameServiceHelpers.cs(3,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

Assets/RPGGame/Core/Scripts/UI/Mail/UIMail.cs(1,7): error CS0246: The type or namespace name 'Newtonsoft' could not be found (are you missing a using directive or an assembly reference?)

insthync commented 2 years ago

Go to your project folder then /Packages edit manifest.json, Add

    "com.unity.nuget.newtonsoft-json": "2.0.2",

Screenshot_44

It was included with the version control package which was included when creating a new project, Unity change it again? :(

Syphon77 commented 2 years ago

That worked and I see you updated the online guide. Excellent support!!!