Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
Geequlim opened this issue Apr 28, 2024 · 2 comments
Open
3 tasks done

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

Geequlim opened this issue Apr 28, 2024 · 2 comments
Assignees
Labels
bug Something isn't working Unity

Comments

@Geequlim
Copy link
Contributor

前置阅读 | 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平台

@Geequlim Geequlim added bug Something isn't working Unity labels Apr 28, 2024
@chexiongsheng
Copy link
Collaborator

接口变动了,去 https://github.com/zombieyang/puerts_unity_webgl_demo 那提issue

@Geequlim
Copy link
Contributor Author

@zombieyang

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Unity
Projects
None yet
Development

No branches or pull requests

2 participants