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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a7
Resolution Note (fix version 2020.3):
Fixed in 2020.3.12f1