Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.3.X
Votes
2
Found in
2020.2.0a12
2020.2.0b9
2021.1
Issue ID
1290074
Regression
Yes
Graphic Raycaster stops hitting GameObjects when opening a selection window while in the Play Mode
How to reproduce:
1. Open the attached "1290074_repro" project
2. Open the Scene "SampleScene"
3. Enter the Play Mode
4. In the Hierarchy select the "Button" GameObject (child of the "Canvas" GameObejct)
5. In the Inspector open and then close the "Select Sprite" window by pressing the little circle next to the Source Image variable name
6. In the Game view press the button
Expected results: The button is clickable, reacts to the mouse
Actual results: The button isn't clickable, doesn't react to the mouse
Reproducible with: 2020.2.0a12, 2020.2.0b11, 2021.1.0a4
Not reproducible with: 2018.4.28f1, 2019.4.14f1, 2020.1.12f1, 2020.2.0a11
Notes:
- After exiting and re-entering the Play Mode the Graphics Raycaster works again
- Selecting the "Event System" GameObject it can be seen that the Raycast doesn't hit anything hovering with a mouse over GameObjects
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a7
Resolution Note (fix version 2020.3):
Fixed in 2020.3.12f1