打开项目出现报错:An error occurred while resolving packages: Project has invalid dependencies: com.unity.

最近做unity项目,git pull别人的项目,打开后出现这样的报错:

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

A re-import of the project may be required to fix the issue or a manual modification of ...

翻译是:

解析包时出错:项目具有无效的依赖项:com.unity.visualeffectgraph:找不到包 [[email protected]]可能需要重新导入项目来修复问题或手动修改 ...
 

打开package manager对应的visualeffectgraph资源有红色感叹号,这个是别人删掉了Assets中Samples文件夹打包了,这时在visualeffectgraph资源点击右下角remove,报错即可消失。

猜你喜欢

转载自blog.csdn.net/weixin_64625272/article/details/130093213