Skip to content

call ClearMaterialCaches when change tint state - #234

Merged
star-e merged 1 commit into
cocos:v4.0.0from
zxx43:SpineTintFix
Jul 31, 2026
Merged

call ClearMaterialCaches when change tint state#234
star-e merged 1 commit into
cocos:v4.0.0from
zxx43:SpineTintFix

Conversation

@zxx43

@zxx43 zxx43 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Re: #

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.

fix issue: https://github.com/cocos/3d-tasks/issues/15061

@zxx43
zxx43 requested review from bofeng-song and star-e July 30, 2026 02:21
@zxx43

zxx43 commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@github-actions

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1014547 bytes 1014547 bytes ✅ 0 bytes
2D All (legacy pipeline) 2682072 bytes 2682072 bytes ✅ 0 bytes
2D All (new pipeline) 2773854 bytes 2773854 bytes ✅ 0 bytes
(2D + 3D) All 10031227 bytes 10031227 bytes ✅ 0 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16867640 bytes 16867640 bytes ✅ 0 bytes

Interface Check Report

This pull request does not change any public interfaces !

@github-actions

Copy link
Copy Markdown

@zxx43, Please check the result of run test cases:

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL graphics-continuous-filling
ios PASS PASS PASS
mac PASS PASS PASS

@github-actions

Copy link
Copy Markdown

@zxx43, Please check the result of run test cases:

Task Details

@zxx43

zxx43 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

windows+vk 进入testcases/spineboy,点击use tint,点击portal,再点击use tint,观察光圈,渲染异常,再点击shoot,观察射击光线

@star-e
star-e merged commit 19f4bd5 into cocos:v4.0.0 Jul 31, 2026
36 checks passed
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