Search Issue Tracker
Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.
Postponed
Votes
0
Found in
5.1.1p4
Issue ID
727679
Regression
No
[MonoBehaviour] Enable checkbox is not shown when there are methods affected by it
To reproduce:
1. Open attached repro.unitypackage
2. Open scene 'square'. The scene has a UI sprite which has a monobehaviour on it. The monobehaviour implements the IPointerEnterHandler. The OnPointerEnter method get's called when the mouse is hovered over the image.
3. Notice that the monobehaviour in the inspector does not have a checkbox
4. Add a Start() or Update() method to the TestScript
5. Disable the monobehaviour on the image
6. Notice how the OnPointerEnter even is no longer getting called - it is affected by the enable/disable!
Workaround: add an empty Start() or Update() method to the monobehaviour to render the checkbox.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
- White lighting artifact when a point light with a small emission range and "Hard Shadows" touches an object while a directional light with "Soft Shadows" and another point light are present
Add comment