Search Issue Tracker
Not Reproducible
Votes
2
Found in
4.5.1f3
Issue ID
617331
Regression
Yes
OnMouseDown() is called on the BoxCollider2D when clicking on the old GUI element.
To reproduce:
1. Open project
2. Open 'ButtonProject' scene
3. Play the scene
4. Press blue object
5. Message 'SpriteButton Pressed! blue' appears in console
6. In game view drag 'MyWindow' over blue object
7. Press blue object twice
8. Drag 'MyWindow' object away from blue object
9. Press 'MyWindow'
10. Every time 'MyWindow' object is clicked 'SpriteButton Pressed! blue' appears in console
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Add comment