Assertion Failure, Memory Warnings & Crashing

Get help using Construct 2

Post » Thu May 19, 2016 1:03 pm

Hi!

So I was happily working away on my game when suddenly I get this error message when I test the game in NWJs preview:
Image

I have no idea what caused this or why.
It happened after I implemented some physics objects, but I removed them after with no difference. The error message still appears.
If I click "OK" I can start the game up, but then when I close the window after, the NWJs is still running in the background, taking up memory and eventually gives me memory warnings and crashes the NWJs preview window.

Do anyone know what the error message means, and what's going on? Maybe Ashley can help on this matter if its rather complicated?
I could really use some help as this seems beyond my scope to solve.
Image
B
10
S
2
Posts: 35
Reputation: 681

Post » Thu May 19, 2016 1:58 pm

So you deleted all refrences to physic's objects and deleted the physic's behavior and this still shows up?
Check out my awesome Android Game releases https://play.google.com/store/apps/deve ... ames&hl=en
B
38
S
18
G
24
Posts: 681
Reputation: 16,613

Post » Thu May 19, 2016 2:18 pm

I didn't delete all physics objects, just the ones I created just before the problem arised, but only by removing the physics behavior from the objects, not the entire objects themselves. You reckon I should try removing the objects (sprites) as well, even in the project folder?
Image
B
10
S
2
Posts: 35
Reputation: 681

Post » Thu May 19, 2016 2:22 pm

Alright, I seemed to have missed one object that I applied physics to. I removed it and now it works fine again.
I tried to apply physics to a tilemap object, so I could implement some rolling rocks in my platformer game by adding physics to both the tilemap and the rock object.
This seems to be causing issues.
Is it supposed to throw errors when applying physics to tilemaps?
Image
B
10
S
2
Posts: 35
Reputation: 681

Post » Thu May 19, 2016 2:35 pm

The manual states that the physics plugin is not really designed to be used with many of the other plugins.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Thu May 19, 2016 2:39 pm

Ah yes, I understand. Thanks for letting me know. I found a workaround. :)
Image
B
10
S
2
Posts: 35
Reputation: 681


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 6 guests