Search Issue Tracker
Fixed in 5.6.0
Votes
1
Found in
5.5.0p4
Issue ID
871010
Regression
Yes
Inactive areas when using 2D physics raycaster when having canvas and sprite in front of it
Reproduction steps:
1. Open project attached (Unity3dRaycasterBug.zip).
2. Open scene "RaycasterBug".
3. In Hierarchy select EventSystem.
4. Press play.
5. Move mouse over game while checking EventSystem information.
Expected result: Every position on screen should report Text or Sprite.
Actual result: There is an area below the Sprite that reports nothing, that is EventSystem considers those positions as empty
Reproduced on: 5.3.4f1, 5.4.0f3, 5.5.0p4, 5.6.0b4.
Not reproducible on: 5.3.0f4, 5.3.3f1.
Regression introduced in 5.3.4f1 (or in 5.3.3 patches).
Note: There is a Sprite in the middle, in front of text. Text covers all the screen, so raycast should always return Sprite or Text at any time.
Before 5.3.4f1, The area below Sprite (where we do not get raycast value) used to return Sprite information.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Add comment