Replace deprecated browser interaction code : Change dynCall to makeD… by Shimrockx · Pull Request #39 · psygames/UnityWebSocket · GitHub
Skip to content

Replace deprecated browser interaction code : Change dynCall to makeD…#39

Merged
psygames merged 1 commit into
psygames:masterfrom
Shimrockx:master
Dec 24, 2024
Merged

Replace deprecated browser interaction code : Change dynCall to makeD…#39
psygames merged 1 commit into
psygames:masterfrom
Shimrockx:master

Conversation

@Shimrockx

Copy link
Copy Markdown

From unity documentation : https://docs.unity3d.com/6000.0/Documentation/Manual/web-interacting-browser-deprecated.html
"Some code involved with web browser script interactions is deprecated and has been replaced with alternative code.

If your code contains any of the deprecated code, you need to update the code with the replacement code to prevent unexpected behavior or broken code."

Using Unity 6 with Target WebAssembly 2023, Module.dynCall throw not defined errors.
This changes resolve the issue.

@psygames psygames merged commit 5f7a599 into psygames:master Dec 24, 2024
@psygames

Copy link
Copy Markdown
Owner

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

Successfully merging this pull request may close these issues.

2 participants