Skip to content

TextureRegion in Spine 4.2 is used during runtime, and the atlas must be released last.#75

Merged
star-e merged 2 commits intococos:v4.0.0from
bofeng-song:Bug
Feb 10, 2026
Merged

TextureRegion in Spine 4.2 is used during runtime, and the atlas must be released last.#75
star-e merged 2 commits intococos:v4.0.0from
bofeng-song:Bug

Conversation

@bofeng-song
Copy link
Copy Markdown
Contributor

@bofeng-song bofeng-song commented Feb 9, 2026

Re: #
cocos/cocos-engine-external#506

Changelog


Continuous Integration

This pull request:

  • needs automatic test cases check.

    Manual trigger with @cocos-robot run test cases afterward.

  • does not change any runtime related code or build configuration

    If any reviewer thinks the CI checks are needed, please uncheck this option, then close and reopen the issue.


Compatibility Check

This pull request:

  • changes public API, and have ensured backward compatibility with deprecated features.
  • affects platform compatibility, e.g. system version, browser version, platform sdk version, platform toolchain, language version, hardware compatibility etc.
  • affects file structure of the build package or build configuration which requires user project upgrade.
  • introduces breaking changes, please list all changes, affected features and the scope of violation.

@bofeng-song
Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1010366 bytes 1010366 bytes ✅ 0 bytes
2D All (legacy pipeline) 2676058 bytes 2676058 bytes ✅ 0 bytes
2D All (new pipeline) 2767796 bytes 2767796 bytes ✅ 0 bytes
(2D + 3D) All 10024822 bytes 10024822 bytes ✅ 0 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16843462 bytes 16844473 bytes ⚠️ +1011 bytes

Interface Check Report

This pull request does not change any public interfaces !

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
ios PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
mac PASS PASS PASS

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
android PASS PASS PASS
wechatgame PASS PASS PASS

@bofeng-song
Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

1 similar comment
@sushanhong
Copy link
Copy Markdown

@cocos-robot run test cases

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics,graphics-draw-before-init
ios PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
mac PASS PASS PASS

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
android PASS PASS PASS
wechatgame PASS PASS PASS

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics,graphics-line-join
ios PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
mac PASS PASS PASS

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
android PASS PASS PASS
wechatgame PASS PASS PASS

@star-e star-e closed this Feb 9, 2026
@star-e star-e reopened this Feb 9, 2026
@bofeng-song
Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
ios PASS PASS FAIL SpineAttach,SpineBoy,SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
mac PASS PASS PASS

@github-actions
Copy link
Copy Markdown

github-actions bot commented Feb 9, 2026

@bofeng-song, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
windows PASS PASS FAIL SpineCollider,SpineMesh,SpineAttachment,SpinePhysics
android PASS PASS PASS
wechatgame PASS PASS PASS

@bofeng-song bofeng-song changed the title Revert external‘s version to fix spine's bug TextureRegion in Spine 4.2 is used during runtime, and the atlas must be released last. Feb 10, 2026
@bofeng-song bofeng-song requested a review from star-e February 10, 2026 01:58
@star-e star-e merged commit 315800e into cocos:v4.0.0 Feb 10, 2026
51 of 72 checks passed
@github-actions
Copy link
Copy Markdown

@bofeng-song ❗ There was an error during the execution of the tasks. Please check the logs for more details.

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.

3 participants