Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.54k stars 342 forks source link

Error message after install, package not loaded #343

Closed Gh0st422 closed 2 years ago

Gh0st422 commented 2 years ago

I got the error "Failed to resolve packages: The file [C:\Users\Name\2D Game\Packages\manifest.json] is not valid JSON: Syntax error: duplicated keys "com.unity.2d.tilemap.extras" near tras": "ht. No packages loaded. A re-import of the project may be required to fix the issue or a manual modification of C:/Users/Name/2D Game/Packages/manifest.json file." after following the instruction of putting the line ""com.unity.2d.tilemap.extras": "https://github.com/Unity-Technologies/2d-extras.git#master"" in "Packages/manifest.json" Not sure what to do and I need this package to use animated tiles. Any fixes would be very appreciated. I'm using Unity editor 2020.3.27f1 and downloaded 2d-extras-2.2.2. Before writing that line, I got an error message similar to https://github.com/Unity-Technologies/2d-extras/issues/293.

Gh0st422 commented 2 years ago

Sorry to bother you, I was able to resolve this issue! It was as simple as following this advice:

As mentioned in https://github.com/Unity-Technologies/2d-extras/issues/280, please use the 2020.3 branch found at https://github.com/Unity-Technologies/2d-extras/tree/2020.3 for the Unity Editor 2020.3.

Hope this helps!