Search Issue Tracker

Fixed in 4.6.X

Votes

2

Found in

4.6.0b20

Issue ID

637877

Regression

No

InputField.ActivateInputField() has no effect when invoked during script initialization from Start, Awake or OnEnable

UI

-

To reproduce:
1. Open the attached project
2. Open the ActivateInputFieldTest.unity scene. Notice how the input field is scripted to invoke InputField.ActivateInputField() from OnEnable()
3. Press play. Notice how the input field does NOT get activated by the script even though it did invoke InputField.ActivateInputField()

InputField.ActivateInputField() has no effect when invoked during script initialization from Start, Awake or OnEnable.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.