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
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
Add comment