Search Issue Tracker
Fixed in 2019.1.X
Votes
0
Found in
2018.3.0a3
2018.3.0b1
Issue ID
1083316
Regression
Yes
Camera.ScreenPointToRay returns slightly offset coordinates when drawing the Ray from main camera to mouse position
How to reproduce:
1. Extract and open the attached project (Raycast issue 2019.1.0a3.zip)
2. Enter the play mode
3. Move the mouse around on the platform that you see in game view
4. Observe the drawn line in the scene view
Expected results: The drawn line stays as long as the mouse is hovering above the platform
Actual results: The drawn line disappears at the top of the platform and appears too early below the bottom of the platform
Reproduces in: 2018.3.0a3, 2018.3.0b4, 2019.1.0a3
Does not reproduce in: 2017.4.12f1, 2018.1.9f2, 2018.2.11f1, 2018.3.0a2
Note: The effect appears to be more visible when drawing the Ray to the platform from a slanted angle
Fixed in: 2019.1.0a8
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
tmello001
Jan 09, 2019 14:28
I am still getting these offset values when upgrading to 2019.1.a13