这是什么情况,为什么 没有ShaderGraph
复制下方代码
{
"registry": "https://staging-packages.unity.com",
"dependencies": {
"com.unity.render-pipelines.lightweight": "1.1.10-preview",
"com.unity.shadergraph": "1.1.9-preview"
}
}
返回unity,打开window / Package manager,更新至最新版本
---------------------
作者:Deveuper
来源:CSDN
原文:https://blog.csdn.net/qq_21153225/article/details/80760137
版权声明:本文为博主原创文章,转载请附上博文链接!
出现了以下错误
Failed to resolve packages: The file [E:\UnityProject\MyProject\UnityProject_TestModel\Packages\manifest.json] is not valid JSON:
Unexpected token '{' at 40:1
{
^. No packages loaded.
A re-import of the project may be required to fix the issue or a manual modification of E:/UnityProject/MyProject/UnityProject_TestModel/Packages/manifest.json file.
Windows-PackagesManager无法正常显示
然后又把刚刚在manifest.json文件复制粘贴的代码
{
"registry": "https://staging-packages.unity.com",
"dependencies": {
"com.unity.render-pipelines.lightweight": "1.1.10-preview",
"com.unity.shadergraph": "1.1.9-preview"
}
}
删除,再返回UNITY,没想到Unity的PackagesManages就可以下载了
安装LightWeight RP(参考资料4,如果没有LightWeight RP,就的安装Render-pipelines.high-definition)或者 Render-pipelines.high-definition
以及Shadergraph。
等待一段时间安装。
参考资料:
1.Unity Shader Graph 安装
2.Unity 解决PackageManager消失问题
3.
4.Unity如何制作飘动的巨龙
5.
相关资料:
1.[Unity]新建NewShaderGraph没有属性变量区的问题
2.
3.