Open makakaorg opened 8 months ago
Thank you @makakaorg for reaching out.
I’ve tried to replicate the problem on my end using Unity 2022.3.21 in different iPhone devices:
But unfortunately I couldn’t reproduce the bug.
Just to clarify, IsTriggerPressed is not a flag but a method that checks if the screen was pressed.
To help us identify this bug, would you be so kind as to add some logs to check if the screen is being touched correctly when pointing at an object?
Please add the following line here to print the value of touch.phase
to verify that the screen is being touched:
Debug.Log(touch.phase.ReadValue());
Then add another log here to verify that the object is being pointed at.
Debug.Log(“Gazed at object.”);
The expected result is that when looking at the treasure and touching the screen both thing should happen:
Please check this and let us know the outcome. Thanks!
SPECIFIC ISSUE ENCOUNTERED
HelloCardboardInputSystem scene: IsTriggerPressed flag in CardboardReticlePointer.cs does not work periodically on iOS
SMARTPHONE (please complete the following information):
STEPS TO REPRODUCE THE ISSUE
EXPECTED BEHAVIOR
Objects disappear every time you Point at them and Tap
VERSIONS USED
What version of Google Cardboard are you using? Cardboard XR Plugin 1.24.0
If you are using Cardboard XR Plugin:
What version of Unity are you using? Example: 2022.3.21
Select in which graphics API you can reproduce the bug.