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:
<img src="http://dl.dropbox.com/u/52716812/Projects/BUG/r97/Bug_r97.PNG" border="0">
When the same objects have this collision polygons, it works:
<img src="http://dl.dropbox.com/u/52716812/Projects/BUG/r97/NON_Bug_r97.PNG" border="0">
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.capx