Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b10
Issue ID
1011483
Regression
No
Raycast hits a sprite in the back, but not the sprite in the front when Default sorting layer is the topmost sorting layer
To reproduce:
1. Open the project, attached by the user (Collider2dOrderBug.zip)
2. Open the "Demo" scene
3. Enter Play mode
4. There are two sprites on the right of the screen, press the top one
5. Observe, how the sprite behind the clicked sprite chnages color instead of the clicked sprite
6. Move the Default sorting layer to be the last (first in the list)
7. Click on the top sprite again
8. Observe, that everything works as expected
Expected: raycast hits the sprite that is in the front
Reproduced in 2017.1.3p2, 2017.2.2p1, 2017.3.2f1, 2018.1.0b10,2018.1.0b12, 2018.2.0a5
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- MissingReferenceException errors are thrown after entering Play mode when multiple Inspector windows are displaying different objects with Grid Layout Group component
- "Can't change name, category with the same name already exists" Error is logged when renaming a Category to a name with a trailing space in the VFX Graph Blackboard
- Delete does nothing on an in-use Custom Attribute when re-triggered after cancelling the deletion confirmation prompt in the VFX Graph Blackboard
- No Ellipses are used for the Visual Effect Graph Create Context Menu Option
- Crash on LaunchBugReporter when opening a specific project using DirectX 12
Add comment