Construct2 v190 release - causes CRASH in iOS/Chrome

Bugs will be moved here once resolved.

Post » Wed Nov 26, 2014 2:47 pm

Problem Description
____ A concise description of your problem here ____

Whenever I run a Construct2 game that has been built using the new v190 release (either by preview or by export), it crashes in Chrome on iOS (tested on an ipad).

Any Construct2 game will crash so long as it includes a MULTIPLAYER OBJECT. (No crash, if MP not included).

The crash gives this message:

TypeError: 'null' is not an object (evaluating["removeObjectId"]') Multiplayer_plugin.js line 310 (col undefined)

And YES, I know that multiplayer does not work on iOS because of webRTC. But, this CRASH should not happen. In prior versions of Construct2, it did not happen when running the exact same code.

As it stands now, you CRASH before you can even detect if the browser supports webRTC or not. Thus, if a user tries to run it on Chrome for iOS, they'll never get a message to use a different browser to make multiplayer work.

Attach a Capx
____ Upload a Capx to this post ____

Take ANY Capx file (for example, the SPACEBLASTER demo) and drop in a MULTIPLAYER OBJECT.

When I do this, and try to preview on an iPAD running Chrome (v 39.2171.50), I get the ERROR MESSAGE and CRASH. This happens with any Capx that has a mutliplayer object.

Description of Capx
____ Concise description of what this CapX does ____

DISPLAYS ERROR MESSAGE: TypeError: 'null' is not an object (evaluating["removeObjectId"]') Multiplayer_plugin.js line 310 (col undefined)

Steps to Reproduce Bug
  • Step 1: Export or Preview any program that has a MULTIPLAYER OBJECT with the latest Construct2
  • Step 2: Run it on a PC or iMAC or Android and it will work fine.
  • Step 3: Run it on an iPad in Chrome, and you get the error and crash. (Or at least, I do).

Observed Result
____ What happens? ____

Expected Result
____ What do you expect to happen? ____

Affected Browsers
  • Chrome: (YES/NO) YES
  • FireFox: (YES/NO) NOT TESTED
  • Internet Explorer: (YES/NO) NOT TESTED

Operating System and Service Pack
____ Your operating system and service pack ____


Construct 2 Version ID
____ Exact version ID of Construct 2 you're using ____

Posts: 19
Reputation: 889

Post » Sun Nov 30, 2014 1:04 pm

same here.
The bug happens while "destroy an object" with multiplayer used, cannot run on IOS, Chrome or Safari

You do not have the required permissions to view the files attached to this post.
Posts: 2
Reputation: 204

Post » Thu Dec 04, 2014 2:20 pm

Should be fixed in the next build.
Scirra Founder
Posts: 25,089
Reputation: 199,786

Post » Sat Dec 06, 2014 8:42 am

Fixed in R191, thanks!
Posts: 2
Reputation: 204

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 5 guests