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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment