Search Issue Tracker
Fixed in 2021.1
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
- Shader error db grows on each build
- Android ARCore build fails with 2019.4 due to outdated Gradle
- [tvOS] Visual artifacts are present when Ambient Occlusion is enabled and Dynamic Resolution is reduced
- Texture Importer Inspector throws errors when a built-in texture inspector is overwritten in C#
- Invalid AABB error is thrown when moving a Particle with Velocity over Lifetime and Limit Velocity over Lifetime modules
Resolution Note (fix version 2021.1):
Fixed in 2021.1.0a7