____ 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 self.mp["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 self.mp["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).
____ What happens? ____
____ What do you expect to happen? ____
- 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 ____