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

When using bitmapfont in taobao-minigame, the game becomes unresponsive. #17022

Closed
zhefengzhang opened this issue May 21, 2024 · 1 comment
Closed
Labels

Comments

@zhefengzhang
Copy link
Contributor

Cocos Creator version

2.4.12

System information

windows10

Issue description

image

Relevant error log output

No response

Steps to reproduce

image
Continuous rapid clicking of the button

Minimal reproduction project

demo.zip

@zhefengzhang zhefengzhang added Bug Needs Triage Needs to be assigned by the team labels May 21, 2024
@zhefengzhang
Copy link
Contributor Author

因为淘宝真机运行的 JS 虚拟机是 quickjs 的定制版,模拟器是 v8,所以在对数据类型对象进行处理时会有一些差异。此问题是因为淘宝真机上执行下面这种代码时会报错,而在淘宝模拟器上不会。

var a = new Unit16Array(2);
a[2] = 0;

目前可以修改 assembler-2d.js 中的代码暂时解决此问题。
image

@minggo minggo removed the Needs Triage Needs to be assigned by the team label Jun 12, 2024
@minggo minggo closed this as completed Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants