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

An error occurred while resolving packages:
  Project has invalid dependencies:
    com.unity.render-pipelines.universal: Package [com.unity.render-pipelines.universal@12.1.2] 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

Logo

旨在为数千万中国开发者提供一个无缝且高效的云端环境,以支持学习、使用和贡献开源项目。

更多推荐