Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Game crahses - are there any logs?

okeoke
Registered User
Quote
2022-06-05 11:05:46

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?


okeoke
Registered User
Quote
2022-06-06 08:16:01

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.


just_in_case
Moderator
Quote
2022-06-06 10:58:19

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.


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internationa?" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact