1 需要的包(注意去掉版本号)
2 直接放到下面文件夹中
3 packages-lock.json修改前后记录
这里以core包举例,其他包都需要改
修改前
"com.unity.render-pipelines.core": { "version": "10.3.2", "depth": 1, "source": "registry", "dependencies": { "com.unity.ugui": "1.0.0" }, "url": "https://packages.unity.com" },
修改后
"com.unity.render-pipelines.core": { "version": "file:com.unity.render-pipelines.core", "depth": 0, "source": "embedded", "dependencies": { "com.unity.ugui": "1.0.0" } },
4 重启unity