Search Issue Tracker

By Design

Votes

0

Found in

5.0.0f4

Issue ID

691785

Regression

No

RectangleContainsScreenPoint doesn't work with Canvas set to Screen Space - Overlay

UI

-

Steps to reproduce:
1. Open attache project's scene "testScene".
2. Click the Play button. Try moving the mouse over the panel - nothing happens. Go back to edit mode.
3. Change the canvas from Screen Space - Overlay to Screen Space - Camera and set Render Camera to the main camera.
4. Click the Play button. This time when you move the mouse over the panel, the console should spew out "Mouse is over panel".

Expected that mouse would be detected on both overlay methods.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.