cocos / engine-native

Native engine for Cocos Creator v2.x

Home Page:http://www.cocos.com/en/products

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[3.3.0] High energy comsumer and overheating on IOS

dev-keishen opened this issue · comments

Dear all

I am using cocos creator 3.3.0. and got an issue that :
Energy consumer is very high and my IOS was overheating so fast(about 10 minutes)

My project is using many spine animations
I tried to reduce draw call and draw call is about 40 now,but overheating is occuring

I don't know how to resolve it

Could you guys help me by show me some tips to fix that?

This is profile in xcode

Screen Shot 2021-09-12 at 16 01 39

Thanks you!

@dev-keishen could you please provide a test case?

@minggo
we will make a sample for this

Thank for your response

TestProject01.zip
@minggo :
I would like to send you an small test example.In fact,the project will be larger than this example

This is the result after playing around 15 minutes :

I hope this example could help you find the issue

2021-09-27 14 35 13

Thanks

Thanks @dev-keishen .

This is the result after playing around 15 minutes

Did you test with TestProject01.zip?

Hello @minggo,
Any update here?
My project has the same issue. The device was heating (especially iOS devices) while running the game.
How can I determine the bottleneck of this issue? Can you suggest any tool that helps me find the root cause?
Thanks!

Hi @greenmango2204, it is because there are some render passes, and every render pass will do store/load operation, which causes the problem. We will try to merge render passes as possible in v3.4.

Thanks for your information @minggo.

It is my pleasure. And sorry about the issue.

@minggo
Hello minggo
could you let me know when version 3.4 will be release?
i am waiting for this version

Thanks

We planned to release it on Dec. 20.

@minggo
Good to hear you
Thanks

Preview version is released in forum: https://forum.cocos.org/t/topic/124094. You can download and have a try.