I was wondering if anyone can help me.
I have a simple Vuforia project with an ARcamera, Plane finder (using Deploy Stage Once) and Ground Plane Stage. To spawn one simple cube. Then I created a Unity UI button to toggle a bool I made to lock the cube/skipping OnInteractiveHitTest inside the Deploy Stage Once script. When I built and tested the project, the cube moves around the reticle just as intended when pressing on an empty space. However when I press on the UI button it triggers the phone's touch event first before doing what the button does. Resulting in the cube moving before it locks in place.
But when I look at the example app from Vuforia ground plane project example the 4 buttons on the bottom right works without triggering the phone's touch event.
I've searched all over to try find the solution or a fix to this, but it all been unsuccessful. Am I missing something? Please help.
This may help: https://forum.unity.com/threads/touch-press-pass-through-all-ui-elements.272892/