File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export default defineConfig({
45
45
{ text : "技术原理" , link : "/Design/Summary" } ,
46
46
{ text : "兼容性评估" , link : "/Design/Evaluation" } ,
47
47
{ text : "推荐引擎版本" , link : "/Design/UnityVersion" } ,
48
- { text : "常见技术问题QA " , link : "/Design/DevelopmentQAList" } ,
48
+ { text : "技术常见问题QA " , link : "/Design/DevelopmentQAList" } ,
49
49
] ,
50
50
} ,
51
51
{
Original file line number Diff line number Diff line change @@ -169,3 +169,8 @@ if (WXConvertCore.DoExport() == WXConvertCore.WXExportError.SUCCEED) {
169
169
170
170
- 查看` Player Setting ` 中的` Scripting Backend ` 选项,将其设置为` IL2CPP ` 后重试。
171
171
172
+ #### 11. 使用 WebGL2 URP管线导出小游戏时提示 shader 编译报错 “Hidden/Universal/CoreBlit: invalid pass index 1 in DrawProcedural”
173
+ - 有部分官方 URP 自带的 shader 存在这个问题,在微信开发者工具上可能渲染会异常,一般真机上渲染是正常的
174
+ - 解决这个报错,可以尝试这两种方法:
175
+ - 第一种方法:升级 URP 版本(有些 URP 版本和 Unity 版本是绑定的,此时可能需要升级 Unity 版本)
176
+ - 第二种方法:可以把工程 Library/PackageCache 目录下的 unity.rendercom.-pipelines.universal@xxx 包拷贝到本地路径,通过 file 的方式引入 unity.rendercom.-pipelines.universal@xxx 包,然后找到 Shaders/Utils/CoreBlit.shader 并修改它,只保留第一个 Pass (注意:此方法需要确保项目中只使用第一个 Pass)
You can’t perform that action at this time.
0 commit comments