Two finger touch freezes input completely

Hi, when I touch with both fingers, application stops getting input events completely. In coding terms, after “this.context.input.getIsTouch(1)” happens, I can no longer detect any “this.context.input.getPointerClicked(0)” or “this.context.input.getIsTouch(0)” events.

Original Post on Discord

by user 606919514772340737

Do you have a orbitcontrols component in the scene? Can you check if removing that component makes a difference?

No I don’t have orbitcontrols anywhere

by user 606919514772340737

Thanks for reporting

Looking into it

which browser are you using? Chrome, Firefox or Safari?

I cant reproduce it on chrome

“samsung internet” default browser :slightly_smiling_face: on android. I will test with chrome

by user 606919514772340737

Oh ok

according to the docs that should support touch identifiers tho Touch: identifier property - Web APIs | MDN

yes, it should, does that change anything ?

by user 606919514772340737

That’s whats used to check which touch is which finger (so gets which ID internally) so its what i thought might have caused it

so can you fix it ? or replace it at least ? any workarounds ? my game stops working whenever user touches with 2 fingers

by user 606919514772340737

Does it reproduce on chrome?

yes

by user 606919514772340737

and on safari too

by user 606919514772340737

Can you make a simple repro where I can see the issue? I’ve tried it here and it didnt reproduce (I got pointer down events and click events for the expected ids with one or two fingers)

https://drive.google.com/file/d/1xqiJUvjQIv4dm77Purb63d7ImtQi1l9h/view?usp=share_link

by user 606919514772340737

its starts game with cards, you can flip them by touching them, after you use 2 fingers it doesn’t react. Everything is in Game.ts script function testUserInteraction()

by user 606919514772340737