cocos / cocos-engine

Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
https://www.cocos.com/en/creator
Other
7.08k stars 1.82k forks source link

[COCOS CREATOR v3.1.1,v3.2] Memory leak on Spine animation #8933

Closed dev-keishen closed 3 years ago

dev-keishen commented 3 years ago

Hello cocos creator team

I am facing a critical problem on cocos creator v3.x

My problem is a huge memory leak was occur when a scene has an spine animation

My scene 1 has no spine animation and nothing memory leak occur When i switch to scene 2 which has a chacracter animation,my memory increase so much and increase time by time

I would like to send an video to describe this issue memory-leak.mov.zip

And this is a source code : RabbitJump.zip

Please help me this issue Thank you very much

xianyinchen commented 3 years ago

This is a known issue and we have arranged to deal with it.

dev-keishen commented 3 years ago

This is a known issue and we have arranged to deal with it.

Thank you very much Pleasure when see your answer

obraz29 commented 3 years ago

@xianyinchen hello Xian, we're also encountering this issue, any hotfix we can apply ?

xianyinchen commented 3 years ago

Yes, this is issue already fixed, refer it please. https://github.com/cocos-creator/engine-native/pull/3686