Problem Description
One physics object, no other objects, layout does not run and shows javascript error. This is reduced from a project I am working on. The object in this capx was the one I last added to my game and caused it to then crash on run - the error happens with both box2d and asm.js although asm.js was selected when the object was added.
Attach a Capx
[attachment=0:1fvpl51j][/attachment:1fvpl51j]
Description of Capx
Project has one object only and a family that gives the object the physics behavior. Run the layout.
Steps to Reproduce Bug
at dc ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:213:73440 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:213:73440\ul0\cf0}}}}\f0\fs22 )\par
at nQ ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:214:142833 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:214:142833\ul0\cf0}}}}\f0\fs22 )\par
at Q.Set ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:482:367 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:482:367\ul0\cf0}}}}\f0\fs22 )\par
at createPolygonShape ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:568:11 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:568:11\ul0\cf0}}}}\f0\fs22 )\par
at behinstProto.createBody ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:1469:24 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:1469:24\ul0\cf0}}}}\f0\fs22 )\par
at behinstProto.postCreate ({{\field{\*\fldinst{HYPERLINK localhost/Physics_behavior.js:1083:8 }}{\fldrslt{http://localhost:50000/Physics_behavior.js:1083:8\ul0\cf0}}}}\f0\fs22 )\par
at Runtime.createInstanceFromInit ({{\field{\*\fldinst{HYPERLINK localhost/preview.js:2803:28 }}{\fldrslt{http://localhost:50000/preview.js:2803:28\ul0\cf0}}}}\f0\fs22 )\par
at Layer.createInitialInstances ({{\field{\*\fldinst{HYPERLINK localhost/layout.js:1316:25 }}{\fldrslt{http://localhost:50000/layout.js:1316:25\ul0\cf0}}}}\f0\fs22 )\par
}[/code:1fvpl51j]
Expected Result
No error on run.
Affected Browsers
- Chrome: (YES)
- FireFox: (YES)
- Internet Explorer: (YES)
Operating System and Service Pack
W8.1 x64
Construct 2 Version ID
r173
Edited to change the title to what it should have been!