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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Add comment