[r97] Physics Collision polygon issue

Bugs will be moved here once resolved.

Post » Mon Jul 02, 2012 12:03 pm

When exporting physics object with specific collision polygons with minify-script, will crash the project.

No error message will popup, since I believe it crashes already at the loading part. Firefox log error message:
this is undefined @ c2runtime.js:336

This issue only appears when a object has the physics behavior and the collision polygon are set in a special way. I have only found this one, but there might be several more settings that will cause this issue.

This issue will not appear if exporting without the minify script.

When collision polygon looks like this, it crashes:


When the same objects have this collision polygons, it works:


Steps to recreate issue:
1. Create new project / open project
2. Make sure object has physics behavior
3. Look at the Collision polygon, change if necessary to get bug
4. Export WITH minify script
5. Put on server and run html file

Tested browsers:
Firefox 13.0.1 (winXP)
Google chrome 19.0.1084.56 (winXP)
Opera 12.00 (winXP)

Computer specs:
winXP Professional Version 2002, SP3
Intel Core 2 QUAD CPU 2.4Ghz
3.0 GB RAM
Graphic: GeForce 8600 GTS
driver version: 301.42

Capx that will cause bug to appear:
http://dl.dropbox.com/u/52716812/Projects/BUG/r97/Crashes.capx

Capx that works fine with the same objects, but different
collision polygon settings:
http://dl.dropbox.com/u/52716812/Projects/BUG/r97/Works.capxCodeMasterMike2012-07-02 12:04:39
B
38
S
13
G
9
Posts: 151
Reputation: 8,427

Post » Thu Jul 05, 2012 5:23 pm

This should be fixed in r98, can you confirm?
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,498

Post » Fri Jul 06, 2012 7:44 am

Yes it's working with the r98 build. Thank you very much!
B
38
S
13
G
9
Posts: 151
Reputation: 8,427


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 2 guests