This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.
Pressing down a key for a widget blueprint works in PIE however, it's not functioning once the project is packaged.
Project Rar File: [Link Removed]
1. Create a new first person blueprint template
2. Create a basic widget blueprint
3. Insert text into the widget blueprint and make it visible
4. Override the 'OnKeyDown' function and recreate the following (or download the project in the description): https://answers.unrealengine.com/storage/attachments/50209-exitmenublueprint.png
5. Create a custom player controller blueprint
6. Use the controller's 'Begin Play' event to construct the widget and promote the reference to a variable
7. Add a key input event to the controller
8. Attach the key input node to a widget reference to the viewport
9. Set the controller input mode UI only with focus given to the widget reference
10. Modify the gamemode to use the new controller
11. PIE in the editor and test the key commands
12. Go to File > Package Project > Windows > Windows (64-bit)
Result: In a packaged project, the key functionality doesn't respond however, when playing in PIE, the widget responds properly.
Expected: The key functionality should function in both PIE and a packaged project.
How to delete some elements correctly when deleting an array loop?
How do I set a material as a post-processing material?
Why does the REMOVE method of map container remove elements have memory leaks?
An Unreal process has crashed: UE-4-Panzer Corps2
为什么我的电脑无法安装ue,错误代码一直是IS-IN-BV05,该如何解决
my UEFN wont lunch it say Failed to open descriptor file ../../../FortniteGame/FortniteGame.uproject
How to convert the datasmith scene file to BluePrint. Create animations in BluePrint.
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Editor - UI Systems |
---|---|
Affects Versions | 4.8.2 |
Created | Jul 17, 2015 |
---|---|
Resolved | Jan 17, 2017 |
Updated | Apr 27, 2018 |