I’m trying to add a package in the new Unity Package Manager. I modified my manifest.json to target a local package. I created a new package.json :
{
"name": "com.enthropia.modalmanager",
"displayName": "Modal Manager",
"version": "1.0.0",
"unity": "2018.1",
"description": "A simple modal manager which open modals with fade in background.
- To improve runtime calculations modals are intantiated only on first time call
- Only one modal can be open in the same time
- Overridable Build method can help you to inject datas in modal
- Can be easily used with UIController",
“keywords”: [
“modal”,
“manager”,
“enthropia”
],
“category”: “Managers”
}
The file is found but Unity send me this error:
Error with package details: The file [[MyPath]\ModalManager\package.json] is not valid JSON:
Unexpected token ‘’ at 1:1
{
^
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Any idea?