Search Issue Tracker
Fixed in 2018.3.X
Fixed in 2018.2.X
Votes
0
Found in
2017.3.0f3
Issue ID
1009394
Regression
No
RaycastHit.TextureCoord returns incorrect values if object has a negative scale
Steps to reproduce:
1. Open attached "QuadTextureCoord.zip" Unity project
2. Open "Main" scene
3. Enter Play mode
4. Observe Console log
Expected results:
RaycastHit.TextureCoord returns (0.5, 0.5) when the ray hits in the center of the Quad
Actual results:
RaycastHit.TextureCoord returns (0.5, 1.0) when the ray hits in the center of the Quad
Reproduced in: 2018.2.0a3, 2018.1.0b10, 2017.3.1p3, 2017.2.2f1, 2017.1.3p2, 2017.1.0a1
Note: Issue happens when either X or Y scale is negative
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] [Vulkan] Cubes stuck on the first few frames of rotation and application flickering when an Overlay Camera is added to the Camera Stack with MSAA enabled
- Profiling information icon does not update for Light Mode
- [Linux] Type to select functionality is missing for drop down menus
- TextMeshPro calculates Width Compression incorrectly when using certain values in the WD% field
- VFX Graph link contrasts fail WCAG guidelines
Add comment