the handled value passed to unlock_mouse is actually treated as unhandled, because FEventReply has no uproperty and no Identical()function of its own. Adding WithIdenticalViaEquality can fix this issue
run python code in editor:
import unreal
handled = unreal.WidgetLibrary.handled()
unreal.WidgetLibrary.unlock_mouse(handled)
Add a breakpoint in ::UnlockMouse and check the value of "Reply"
it's actual value is "unhandled", expect to be "handled"
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-355955 in the post.
| 0 |
| Component | UE - Editor - UI Systems - UMG |
|---|---|
| Affects Versions | 5.7 |
| Target Fix | 5.8 |
| Fix Commit | 48785794 |
|---|
| Created | Nov 28, 2025 |
|---|---|
| Resolved | Nov 28, 2025 |
| Updated | Dec 1, 2025 |