Tencent/puerts

[Unity] Bug: WebGL 平台构建出错

Opened this issue · 2 comments

前置阅读 | Pre-reading

Puer的版本 | Puer Version

github 主干分支

Unity的版本 | Unity Version

2022.3.17

发生在哪个平台 | Platform

Other

错误信息 | Error Message

WebGL 构建失败,报错如下。 upm 中的最新版本是没问题的。

[wasm-validator error in function JsEnv_RegisterTickHandler_mF9B81A6C00A076807870911C3EA15CB7FB71C1E4] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $1)
 (local.get $2)
 (i32.const 0)
)
[wasm-validator error in function JsEnv_GetGenericMethod_m4B0E53769B926028F55E7E48DD02E2A31D108977] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $1)
 (local.get $2)
 (i32.const 0)
)
[wasm-validator error in function JsEnv_GetGenericMethod_m4B0E53769B926028F55E7E48DD02E2A31D108977] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $1)
 (local.get $2)
 (i32.const 1)
)
[wasm-validator error in function JsEnv_GetGenericMethod_m4B0E53769B926028F55E7E48DD02E2A31D108977] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $1)
 (local.get $2)
 (local.get $3)
)
[wasm-validator error in function U3CU3Ec__DisplayClass7_0_U3CInitArrayTypeIdU3Eb__0_m8FE732636114F23592B3935E91B191ECBD58956A] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $3)
 (local.get $2)
 (i32.const 0)
)
[wasm-validator error in function U3CU3Ec__DisplayClass7_0_U3CInitArrayTypeIdU3Eb__1_m3BDA5706E1901C285E8DDCFD8DA735926FC7763D] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $5)
 (local.get $2)
 (i32.const 0)
)
[wasm-validator error in function U3CU3Ec__DisplayClass7_0_U3CInitArrayTypeIdU3Eb__1_m3BDA5706E1901C285E8DDCFD8DA735926FC7763D] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $5)
 (local.get $2)
 (i32.const 1)
)
[wasm-validator error in function DelegateConstructWrap_Construct_mE9F958F82FFFDC02299CADAED935DB355BA13BE7] unexpected false: call* param number must match, on 
(call $GetArgumentValue
 (local.get $1)
 (local.get $2)
 (i32.const 0)
)

问题重现 | Bug reproduce

引入github的插件,构建webgl平台