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
- Standard Unity Materials and Shaders become corrupted after importing specific Asset Packages
- [Linux][OpenGL][Vulkan] Draw calls are not shown in the Event List when taking a capture of a frame with RenderDoc
- Inaccurate collision detections when Rigidbody Collision Detection is set to "Continuous" or "Continuous Dynamic"
- Crash on Object::IncrementPersistentDirtyIndex when upgrading project version
- [iOS] Multiple Xcode project instances created before opens up when performing Build and Run for iOS Platform
Add comment