UNITY报错:An error occurred while resolving packages: Project has invalid dependencies: com.unit

打开unity出现了这样的报错:

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.unity.render-pipelines.universal: Package [[email protected]] cannot be found

这里在同站其他博主提供的方法中得到灵感,现已解决。原博主给出的解决思路是项目具有无效的依赖项,找不到包,需要手动remove。由于错误原因不一致,这里我们直接更新,在如下选项卡中操作:

        window→package manager→packages unityt→render pipelines universal

点击update to 12.1.3(不同版本可能不一致)

更新后已经没有报错

重新导入数据后项目可正常运行,控制台不再报红,解决!

原帖链接

https://blog.csdn.net/weixin_64625272/article/details/130093213

猜你喜欢

转载自blog.csdn.net/weixin_43354575/article/details/134781679