Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, The game I'm trying to make with coppercube crashes on runtime with no error message. Everything just freezes for for a second and then application window closes. I'm targeting windows, tried both dx and opengl, though the bug usually reproduces faster with opengl. It seems to me that it could be also related with playing wav sounds. Are there any way to check the crash logs or set up addional logging? |
||||
|
Ok, the issue is with ccbSetSceneNodeParent. My new theory is that: I move dead enemies to a specific folder using it, and at the same time another script tries to calculate amount of alive enemies using ccbGetSceneNodeChildCount. So, I guess they collide somehow. Anyway it works without changes node parent. |
||||
|
Glad that you figured out what was causing the issue. Sometimes two actions or behaviors combined can cause a memory loop and then the game freezes after a period of time and crashes. It is hard to reproduce such issues.ua happens only if you are using some inbuilt action or behaviors, it won't occur when you are creating the game from custom Javascript. |
|