Search Issue Tracker
By Design
Votes
0
Found in
4.6.0b20
Issue ID
636966
Regression
No
Registering TriggerEvents causes the baseEvent.selectedObject to be null for the EventTriggerType.PointerDown
To reproduce this bug:
1. Import the attached package
2. Open 'scene'
3. Press play
4. Press button
5. Null reference exception is thrown
6. Press again and now event is triggered correctly
7. Select Button(Canvas->Button)
8. Enable 'Use Pointer Up'
9. Play again and now everything works correctly
Bug only happens with EventTriggerType.PointerDown.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- "Editor unavailable" message is displayed when navigating to "Get set up" tab in Unity Hub
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
Add comment