Description
Describe the bug
In my application, I noticed that the pick() method works incorrectly on certain devices — it almost always returns 0. I verified this using the sample-gltf-viewer from this repository and confirmed that the issue is reproducible.
To Reproduce
Steps to reproduce the behavior:
- Open the sample-gltf-viewer app on Samsung S22.
- Tap on the model.
- Observe that the returned pick result is 0 almost every time.
Expected behavior
Tapping on a visible part of the model should return a valid entity, not 0.
Logs
There are no errors or crashes in the logs. The issue is purely about unexpected behavior of the pick() method.
Smartphone:
Device with issue:
- Device: Samsung Galaxy S22, S22+, S22 Ultra
- OS: Android 12
Additional context
The issue was tested via BrowserStack. It consistently reproduces on Galaxy S22 devices, works fine on Galaxy S23, and is partially reproducible on Galaxy S24.
Video demonstration:
Software information:
Filament 1.60.0