Hello!
In UE 5.5 Preview, new stylus code was introduced, which can cause a test failure in an unrelated test suite, Editor.Plugins.Tools.Modeling.EditorMode.ExtrudePolygons.*.
The test indirectly invokes FWindowsStylusInputInterface::CreateInstance, which attempts to get a window handle. While this works in the editor, when run with -NullRHI, it is not possible to get a window handle. As a result, this code generates an error log, which is interpreted as a test failure.
We have addressed the test failure by downgrading the error log to a warning. We'd be interested in getting this, or an alternative fix, into the mainline.
Thanks!
Steps to Reproduce
.\Engine\Binaries\Win64\UnrealEditor-Cmd.exe <insert project> -ExecCmds="Automation RunTests ExtrudePolygon;Quit" -nosplash -NullRHI -stdout
<p>
</p>
Note the error log causing the test failure:
LogStylusInput: Error: WindowsStylusInputInterface: Could not get native window handle.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-239033 in the post.
| 0 |
| Component | UE - Graphics Tools - Modeling Tools |
|---|---|
| Affects Versions | 5.5 |
| Target Fix | 5.6 |
| Fix Commit | 39292841 |
|---|
| Created | Jan 15, 2025 |
|---|---|
| Resolved | Jan 17, 2025 |
| Updated | Jan 30, 2025 |