Description

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

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.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-239033 in the post.

0
Login to Vote

Fixed
ComponentUE - Content Tools - Modeling Tools
Affects Versions5.5
Target Fix5.6
Fix Commit39292841
CreatedJan 15, 2025
ResolvedJan 17, 2025
UpdatedJan 17, 2025
View Jira Issue