Crash random Skeleton (Spine) cocos2dx

Crash random Skeleton (Spine) cocos2dx
0.0 0

#1

I have a crash like that. (I have played a spine skeleton animation by cocos2dx)

But this crash happend random.
Anyone help me to avoid this?
Thank so much!


#2

Do you create lot of spine in 1 function together?
It happen to me if i create about 8 or more spine in init();
the solution is to batch the same spine, or preload it.


#3

I have a lot of spines but One time just played only one. After finish that i dispose this spine and play another spine.
If we have to preload all we maybe cost a lot of memory to keep that. It may be not necessary.

Could you give me another solution to solve that!
Thanks!