|
unity工程打开时报错An error occurred while resolving packages: Project has invalid dependencies:
类似报错:
An error occurred while resolving packages:
Project has invalid dependencies:
com.unity.package-manager-ui: Package [com.unity.package-manager-ui@2.1.2] cannot be found
Package com.unity.textmeshpro@2.0.0 has invalid dependencies:
com.unity.ugui: Package [com.unity.ugui@1.0.0] cannot be found
Assembly has reference to non-existent assembly 'Unity.ugui' (Packages/com.unity.textmeshpro/Scripts/Editor/Unity.TextMeshPro.Editor.asmdef)
把工程目录下的Packages目录中的manifest.json删掉, 然后再自动生成即可,此方法可能会需要再次安装冲突的包!
与下方链接帖子相似,可以参考
https://www.swztdza.cn/dalt/foru ... amp;highlight=unity
|