0 votes
ago by (320 points)

I"m using Unity 2019.4.13f1 and PUI 4.6.3, SDK - v2(deprecated). When I gaze over nearby UI, the ray length is getting short and it remains short even I gaze the pointer away from the UI. After shaking or pointing at some angle away from UI, it goes long. why does it happen? It makes the user difficult to click the Gameobject is attached with collider.

2 Answers

0 votes
ago by (990 points)

Hello, have you tried checking the length adaptive ray option?
enter image description here

ago by (320 points)
edited ago by

Yes it is checked.

ago by (990 points)

Is it possible that canvas boundaries cause this problem? If so,maybe try setting the boundaries smaller.
enter image description here

ago by (320 points)

Please take a look of the Image. There were no canvas is colliding with the ray still the length of the ray is not long enoughenter image description here

0 votes
ago by (15.1k points)

Dear developer,
Could you please provide a Demo project that can reproduce your problem?
Please send it to our email: pico_devanswers@bytedance.com.
We'll test it.
And please use the title of your question as the subject of your email.

Note: If the attachment size exceeds the upper limit and the email is returned, plesae send it as a download link.

...