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

spine淘宝phone test will show the Spine incompletely. #16997

Closed
tangkaikk opened this issue May 16, 2024 · 2 comments
Closed

spine淘宝phone test will show the Spine incompletely. #16997

tangkaikk opened this issue May 16, 2024 · 2 comments
Assignees
Labels
Bug Needs Triage Needs to be assigned by the team

Comments

@tangkaikk
Copy link

Cocos Creator version

2.4.12, 2.4.13, 3.7.4

System information

any devices

Issue description

under the phone test, the spine show incompletely .
WechatIMG8

Relevant error log output

none

Steps to reproduce

click 真机调试, generate qrcode, use phone scan the code. while entered the game ,you will see the issue.

Minimal reproduction project

animalCity.zip

@tangkaikk tangkaikk added Bug Needs Triage Needs to be assigned by the team labels May 16, 2024
@bofeng-song
Copy link
Contributor

The issue at the platform layer is that the implementation of the Array differs from the standard implementation in TypeScript.

@tangkaikk
Copy link
Author

begin game initialization, inject the code below:
let oldClear = sp.spine.IntSet.prototype.clear
sp.spine.IntSet.prototype.clear = function() {
oldClear.apply(this);
this.array = [];
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Needs Triage Needs to be assigned by the team
Projects
None yet
Development

No branches or pull requests

2 participants