Cocos Creator 3.8.4 Help

Two bugs were found on iOS in Cocos Creator 3.8.4.

  1. I found an increase in memory when changing scenes, but I can’t find a solution. ‘sys.garbageCollect’ was executed before and after changing the scene. I set up a custom render pipeline to use GaussianBlur in my project.

  2. Custom shader alpha issue


    NewProject.zip (90.8 KB)

Hi @MacLee, thanks for reporting the issues.
Could you confirm that the issue of memory leak is caused by the custom render pipeline?

Project setting

xcode (Version 16.1 (16B40)) iPhone se3 (iOS:18.1)


noCustomRenderPipeline.zip (78.4 KB)

  1. Custom shader alpha issue ( iOS Metal ) Solved.
    graphics - Metal blending alpha under 0.5 - Stack Overflow
    33
    Any other exact solution?
  1. Memory leak. We have confirmed that it’s a bug in custom render pipeline. We will try to fix it in v3.8.5 which will be released before the end of December.
  2. Alpha issue. The change seems ok.

I will create two issues for this thread.

Thanks feedback.

We suggest using Builtin pipeline in 3.8.4 and later.
In 3.8.5, Builtin pipeline will support PipelinePass component, which can be used to add custom pipeline pass. refactored builtin-pipeline by star-e · Pull Request #17860 · cocos/cocos-engine · GitHub

Example is in GitHub - cocos/cocos-example-custom-pipeline (branch v3.8.5)

Thank You.