Keyboard not response after packaging

Hello, I have a really weird problem.
I create a widget in the level blueprint after hitting M key, it works in viewport mode, but after I package the project , the EXE doesn’t work.
Here is my level blueprint, I add “enable input” and key stroke event.



I also set the default gamemode, default map, and startup map. I tried to modify the material in the landscape, it turned out it was the map I wanted to use.

when using shipping on package ,the level blueprint didn’t work at all, I add “print string” on the Event Tick, it didn’t show on screen ,but if I used development or debug, it worked, but still, keyboard didn’t work.
This problem has been tortruing me for days, I tried every method I can figure out, didn’t have any progress, so somebody please help me , thank you!