Unity Issue Tracker - Player .exe remains open as a background task after closing it when Active Input Handling is set to "Input System Package (New)"
Fixed
UUM-91181
Player .exe remains open as a background task after closing it when Active Input Handling is set to "Input System Package (New)"
Unity: Input
Open
2023.2.X
2023.2.0a10 onwards
Fixed
6.2.X
6.1.X
6.0.X
2022.3.X
Fixed an issue in Windows 11 player builds leading to the unloading of 'Windows.Gaming.Input.dll' during 'RoUninitialize' to stop the application from exiting correctly.
Fixed an issue in Windows 11 player builds leading to the unloading of 'Windows.Gaming.Input.dll' during 'RoUninitialize' to stop the application from exiting correctly.
Fixed an issue in Windows 11 player builds leading to the unloading of 'Windows.Gaming.Input.dll' during 'RoUninitialize' to stop the application from exiting correctly.
Fixed an issue in Windows 11 player builds leading to the unloading of 'Windows.Gaming.Input.dll' during 'RoUninitialize' to stop the application from exiting correctly.
Reproduction steps:
1. Open the attached “BackgroundProcessBug.zip” project
2. Build and Run the project (File > Build and Run)
3. Open the Task Manager
4. Observe the "BackgroundProcessBug.exe" Player process
5. Close the Player via the “X” button in the Window or Alt+F4
6. Observe the same "BackgroundProcessBug.exe" process in the Task Manager
Expected result: "BackgroundProcessBug.exe" is not visible in the Task Manager
Actual result: "BackgroundProcessBug.exe" is still visible in the Task Manager and is not fully closed