I do have a big problem with Raycast on Android Build.
In my project im using the camera center to aim on a projected 3d model. when using input touch on my device screen it should trigger several actions.
On Unity Editor when using my webcam and mouseclicks instead it works all fine. All the elementnames get recognized correctly and the sound plays when hitting the object.
When building the project for my Android device its not working at all. By chance i get an hit on the biggest element but not on the small ones.
Additionally the hit on the biggest 3d element doesnt work how it should. It only works sometimes at a special distance although the raycast distance is set to infinity and it also gets triggered when aiming next to the element where it should NOT work since the element isnt placed on that position. I sometimes hit the object when aiming somewhere else.
All my elements have colliders on it.
I am using Unity 2018.4.14f1 (64-bit).
Im tried to use the default code from the Unity manuals for InputTouch and InputMouse. Neither nor is working and so does all the rest i found in several threads.
Im am totally desperate of not getting this fixed since my deadline is coming closer and closer....
I would appreciate any kind of hint on how to fix this issues.
Thanks alot so far