打開unity出現(xiàn)了這樣的報錯:
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
這里在同站其他博主提供的方法中得到靈感,現(xiàn)已解決。原博主給出的解決思路是項目具有無效的依賴項,找不到包,需要手動remove。由于錯誤原因不一致,這里我們直接更新,在如下選項卡中操作:
????????window→package manager→packages unityt→render pipelines universal
點擊update to 12.1.3(不同版本可能不一致)
更新后已經(jīng)沒有報錯
重新導入數(shù)據(jù)后項目可正常運行,控制臺不再報紅,解決!
原帖鏈接文章來源:http://www.zghlxwxcb.cn/news/detail-775289.html
https://blog.csdn.net/weixin_64625272/article/details/130093213文章來源地址http://www.zghlxwxcb.cn/news/detail-775289.html
到了這里,關(guān)于UNITY報錯:An error occurred while resolving packages: Project has invalid dependencies: com.unit的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!