Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.1.0f3

Issue ID

930071

Regression

Yes

[Docs] New behavior not documented: Unity UI graphic Raycasting doesn't work when local Scale z=0

uGUI

-

"The raycasting is correct to work better for small scale. The issue is now that the ray direction is calculated in rect space instead of world space to get more accuracy. With the scale being zero, when using rect space the ray direction is zero on the z. This prevents the ray from hitting anything."

This is a new logical behavior in Unity 2017.1 (In previous versions (5.6) changing local Scale z to 0 did not have any effect). However, this has not been documented in Release Notes and anywhere in Documentation. We want this to be documented somewhere (possibly in Raycast page or Canvas page).

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.