Assertion: Cannot enlarge memory arrays in asm.js.

Report Construct 2 bugs here.

Post » Wed Oct 29, 2014 2:44 pm

Message: ex32 can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
When debuging the game for more than 2 minutes, this error appear. Assertion: Cannot enlarge memory arrays in asm.js.

This error also ocur while playing the exported game , after minute or so

Capx
https://copy.com/Iv6QJa1zJEwBMMxp

Debuging in node webkit

I know there is plenty of images, :-) , it will be done by rotate behaviour later, but now i need to know how much images can i use before a bug


Operating System and Service Pack
_Windows 7 x64, 2Gb Ram

Construct 2 Version ID
R185
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Wed Oct 29, 2014 4:59 pm

It's odd that you report an error message to do with asm.js when the provided project is not set to use asm.js physics - it's set to use box2dweb.

Can you confirm that it is the correct project and that this setting is accurate?
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155

Post » Wed Oct 29, 2014 5:10 pm

You can easily set it back to asm. I can provide tutorial if it is problem.
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Thu Oct 30, 2014 11:00 am

Try to remember to clearly state what your .capx is and any extra steps to reproduce the problem. We ask for a .capx that reproduces the problem, and it's confusing if you provide one that doesn't reproduce the problem and actually needs extra steps you didn't mention.
Scirra Founder
B
403
S
238
G
89
Posts: 24,654
Reputation: 196,155

Post » Thu Oct 30, 2014 1:38 pm

Ok sorry about that. I am sure it was because of the images. 1 sprite had animation of 100frames. i put 9 such sprites in the layout. After i tried rotate behaviour the problem is gone , now. But if you wish , i can do it again , and record video of what exaclty i am doing so it is clear. and will provide new capx
B
11
S
3
G
1
Posts: 419
Reputation: 1,782

Post » Tue Nov 25, 2014 8:09 pm

asm.js is limited to 8 collision polygon points - many of those sprites have more than that... I seem to recall that concave shapes are also not supported by asm.js, but I'm struggling to find a reference and might be mistaken.
A big fan of JavaScript.
B
76
S
20
G
76
Posts: 2,296
Reputation: 47,576


Return to Bugs

Who is online

Users browsing this forum: MahaMori and 0 guests