Packaged game freezes after setting user focus on text box

I tried setting user focus on text box after event construct and on text committed, it worked fine in editor. However, the game froze when I opened the packaged game and do mouse click .

How to reproduce the problem:
1.open first person template
2.create a widget and add a text box
3. connect the nodes just like the image
4. go to level bp and add the widget to viewport
5.package the game
6.open the game and click
7.the game freezes:/

Solved