Search Issue Tracker
Won't Fix
Votes
0
Found in
5.6.1f1
Issue ID
923091
Regression
No
Contains(ScreenToWorldPoint) check uses RectTransform dimension values when ParentObject scale is 0
GameObject's scale is set to 0. It's child canvas scale is set to 5x5. When checking whether a clicked point is within the canvas, it still registers when within the current 5x5 square in the middle.
Steps to reproduce:
1. Download and open the project
2. Enter Playmode
3. Click in the general center of the Game view
Expected result: clicked point is not registered, because canvas has no size
Actual result: point is still considered within the canvas
Reproduced on 5.4.5p1, 5.5.4f1, 5.6.1p3, 2017.1.0b10, 2017.2.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
Add comment