Bug behavior Physics C2
I have applications that use behavior Physics, and after the last update it causes your application to crash and freeze the image when you test the compiled app. Format apk: it was compiled by cocoon, the first layout that did not use the bahavior worked, when you click to go to the second layout, in which there is an object that has this behavior activated, the first layout freezes and no longer leaves it. I did the test with the behavior disabled and it worked normal. So I did the test compiling for C2 itself, for NW.js, and the problem persisted. In other words, we can conclude that there is something related to this behavior that is causing this.
Description of Capx
Any capx that has a layout without the behaviors, and another second layout with the behavior, this will occur.
Steps to Reproduce Bug
Layout 1 without Physics behavior, works normal, this layout goes to layout 2 if you click play;
Layout 2 has the behavior physics activated, due to it it does not even get to run, the layout itself locks when you click play.
Internet Explorer: NO
Construct 2 Version ID
Release 253, 64 bit - Steam
CAPX - Link:
https://drive.google.com/file/d/1q0oEho ... JFLJF/view
Are you enabling minification on export? Does it still happen if you turn off minifying? I think I found an issue with minifying the physics behavior which was accidentally introduced in r253.
That really was it. Solved the problem. Thank you for your help.
OK, should be fixed in the next beta then.
Develop games in your browser. Powerful, performant & highly capable.
Ok, I'm waiting for the update. Thank you again.