unity降低版本从2019.3.0a7 to 2018.1.8f1后,报错com.unity.2d.sprite: Package [com.unity.2d.sprite@1.0.0] canno

we had a similar issue when downgrading a project from 2019.3.0a7 to 2018.1.8f1. This was for a 3D project, not a 2D project. Close Unity and open the location of your project and go into the Packages folder and rename the manifest.json file to manifest.old. Create a new project (we used the new “3D with extras” template from Unity Hub. Close Unity and copy the manifest.json file from the new project and paste it into the Packages folder of the project with the error. Relaunch the Project with the error and it should open without error. If there are errors, then you can delete the new json file and rename the original.

The alternative is to make a backup of the json file and then delete the lines in the manifest.json file with the packages that can’t be found, ie:

com.unity.2d.sprite
com.unity.2d.tilemap
com.unity.modules.androidjni
com.unity.package-manager-ui

原文出处:https://forum.unity.com/threads/package-manager-strange-error.659809/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值