cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

[3.7.0] iOS crash by calling cc::StencilManager::getDepthStencilState() on Batching process

Open thinhlv opened this issue 1 year ago • 3 comments

Cocos Creator version

3.7.0

System information

Macos Bigsur 11.4, iOS 15.4.1

Issue description

Cocos creator version: 3.7.0 Build platform: iOS Play the game contains so many spines animation appear then disappear using NodePool. For a while, the game on iOS platform will be crashed.

Relevant error log output

No response

Steps to reproduce

  1. Build the game with so many complex spine animations on the screen. (EnableBatch = false, CACHE_MODE = SHARED_CACHE, or REALTIME)
  2. Run the game on iOS platform
  3. For while, the game will be crashed with batching errors.
  4. NOTE: the game has the higher rate to be crashed if we change game scene (back to lobby).

Please take a look to the attached files 216571218-588592b6-c428-47cd-8358-b9ca1e373064 216571272-55dba283-b2a2-4243-b99f-f05b137e426f 216571281-8b293dcd-2930-4e43-acbb-b70e08f6387e

Minimal reproduction project

No response

thinhlv avatar Mar 15 '23 07:03 thinhlv

Please ask if there is progress now, this problem has a good chance of happening on native

cx-github avatar Jun 06 '23 02:06 cx-github

@minggo Has this issue been considered sir?

tonyle93 avatar Dec 19 '23 04:12 tonyle93

Can any one provide a demo? v3.8.2 fixed a crash issue, but i am not sure if it is the same.

minggo avatar Dec 19 '23 05:12 minggo