Skip to content

Fix: Fixed the issue where custom pipeline profiler were not displaying. - #295

Merged
llsansun merged 1 commit into
cocos:v4.0.0from
MagicXHouse:v4.0.0
Aug 20, 2026
Merged

Fix: Fixed the issue where custom pipeline profiler were not displaying.#295
llsansun merged 1 commit into
cocos:v4.0.0from
MagicXHouse:v4.0.0

Conversation

@MagicXHouse

@MagicXHouse MagicXHouse commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Re: #

Changelog

修复性能剖析器在custom管线下没有渲染的问题。性能剖析器官网链接
根因是custom管线并未调用renderDebugRenderer渲染函数。
修复前:1. 调试模式,显示左下角旧版profiler(新profiler无论如何都不会显示)。2. 不是调试模式,都不显示。
image
修复后:

  1. 调试模式,显示左下角旧版profiler + 新profiler (需要打开调试文字渲染器)。2. 不是调试模式,都不显示。
image

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.

@MagicXHouse

Copy link
Copy Markdown
Contributor Author

@cocos-robot run test cases

@MagicXHouse

Copy link
Copy Markdown
Contributor Author

@cocos-robot run-test-cases-custom

@github-actions

Copy link
Copy Markdown

Code Size Check Report

Wechat (WASM) Before After Diff
2D Empty (legacy pipeline) 1015290 bytes 1015290 bytes ✅ 0 bytes
2D All (legacy pipeline) 2683021 bytes 2683021 bytes ✅ 0 bytes
2D All (new pipeline) 2775280 bytes 2775280 bytes ✅ 0 bytes
(2D + 3D) All 10032722 bytes 10032722 bytes ✅ 0 bytes
Web (WASM + ASMJS) Before After Diff
(2D + 3D) All 16869140 bytes 16869140 bytes ✅ 0 bytes

Interface Check Report

This pull request does not change any public interfaces !

@MagicXHouse MagicXHouse added the bug Something isn't working label Aug 20, 2026
@llsansun
llsansun merged commit 2b7b438 into cocos:v4.0.0 Aug 20, 2026
36 checks passed
@github-actions

Copy link
Copy Markdown

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

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL progress
ios PASS PASS PASS
mac PASS PASS PASS

@github-actions

Copy link
Copy Markdown

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

Task Details

@github-actions

Copy link
Copy Markdown

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

Task Details

Platform build boot runned crashScene FailScene
web-mobile PASS PASS FAIL tween-clone
ios PASS PASS PASS
mac PASS PASS PASS

@github-actions

Copy link
Copy Markdown

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

Task Details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants