iOS 3D Touch Bug

Bugs will be moved here once resolved.

Post » Sun Jan 03, 2016 3:01 am

Problem Description
When using a device that supports 3D touch, when you are applying force to one object and then press a second obcject simultaneously, the second object wont respond to the "is touching" event.

Steps to Reproduce Bug
  • Step 1
    Have object A and B respond to an "is touching" event
  • Step 2
    Run the game on a force touch enabled device (iphone 6s)
  • Step 3 etc.
    Press strongly on object A then tap object B

Observed Result
The tap on object B is not triggering

Expected Result
The tap on object B should trigger

Reproducibility
50% - It seems more easy to reproduce if you strongly quick tap and hold on the first button

Operating System and Service Pack
iOS 9.2
On a Phonegap build
Also happening on web using the Chrome App

Construct 2 Version ID
Release 216

Demo
Make sure to run it on a force 3D enabled device (iphone 6s, keep touching the buttons simultaneously, eventually they stop working)
http://www.znelarts.com/cosas/ForceTouchBug/

Video Demostration
http://www.znelarts.com/cosas/ForceTouc ... oVideo.wmv

capx file
http://www.znelarts.com/cosas/ForceTouc ... chBug.capx
Last edited by hazneliel on Mon Jan 04, 2016 1:41 pm, edited 10 times in total.
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Sun Jan 03, 2016 3:36 am

Are you creating correct events for multiple touch inputs?
Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Sun Jan 03, 2016 4:17 am

Yes Im sure, my game was working fine on non force touch devices, then I got an iPhone 6s then I saw the bug, see the demo project and try it. Sometimes it take some tries but just keep multitouching the buttons until one stops responding.

Scirra, please help me with this, its affecting my product already on the App Store

Thank you
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Sun Jan 03, 2016 8:39 pm

I have been testing further, the problem also ocurs to non 3D touch devices, but only running on the Chrome browser or Cordova/phonegapps Apps.
When using safari it works fine.

I wonder why on Safari works fine, but when making a phonegap App it fails.
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Sun Jan 03, 2016 8:48 pm

Can't test here, but you might try using "nth" touch conditions as a work around.
Image ImageImage
B
169
S
50
G
174
Posts: 8,328
Reputation: 110,800

Post » Sun Jan 03, 2016 9:07 pm

newt wrote:Can't test here, but you might try using "nth" touch conditions as a work around.


Cant use NTH touch for that, the condition is when any touch is on an object, the bug is happening because its not registering that the second object is being touched.
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Thu Jan 07, 2016 3:38 pm

I can't reproduce this on a Nexus 9 (Android). Are you sure the iPhone 6S hardware supports multiple force touches? I've not seen any references indicating multitouch works with force touch simultaneously, especially since it's awkward to force-touch with one finger and then use another finger to do a separate touch somewhere else. So it might just be that this is not a feature of the device!
Scirra Founder
B
398
S
236
G
88
Posts: 24,433
Reputation: 194,635

Post » Sun Jan 10, 2016 4:41 pm

Ashley, you can also reproduce it on a non #D touch device, I managed to reproduce it on an iPhone 5s on the Chrome browser. I was not able to reproduce it on the Safari browser.

Same as on the Chrome browser when I create a phone gap app from it, it also has the bug.

Try running it on an iPhone 5s on a Chrome browser
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Thu Jan 14, 2016 2:17 am

Ashley, where you able to reproduce this with the info I posted?
Image
B
15
S
4
G
4
Posts: 134
Reputation: 3,177

Post » Thu Jan 14, 2016 12:27 pm

Is that using the .capx you posted? I tested it on both an iPad Air 2 and Chrome on a Nexus 9, neither had any issues.
Scirra Founder
B
398
S
236
G
88
Posts: 24,433
Reputation: 194,635

Next

Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 9 guests