Skip to content

使用TcpSocket时,收到消息报错 #979

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

Open
Chuangludeng opened this issue Mar 24, 2025 · 1 comment
Open

使用TcpSocket时,收到消息报错 #979

Chuangludeng opened this issue Mar 24, 2025 · 1 comment

Comments

@Chuangludeng
Copy link

TypeError: GameGlobal.Module._malloc is not a function
at convertStringToPointer (utils.js? [sm]:299)
at convertDataToPointer (utils.js? [sm]:308)
at Function.callback (index.js? [sm]:140)
at Function.t (VM29 WAGameSubContext.js:1)
at
at c. (VM15 WAGame.js:1)
at c.emit (VM15 WAGame.js:1)
at Object.emit (VM15 WAGame.js:1)
at VM15 WAGame.js:1
at VM15 WAGame.js:1
at VM15 WAGame.js:1
at Object.emit (VM15 WAGame.js:1)
at c (index.js:1)
at l (index.js:1)
at index.js:1
at Set.forEach ()
at g (index.js:1)
at e.exports.p (index.js:1)
at index.js:1
at Set.forEach ()
at WebSocket._ws.onmessage (index.js:1)(env: Windows,mg,1.06.2412050; lib: 3.5.1)

@Chuangludeng
Copy link
Author

找到原因了...Unity6会报错,2022.3不会,我只能先降版本了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant