This issues with this bug can be mitigated with a move to OpenXR. The Unity Windows Mixed Reality plugin is only minimally maintained in current LTS version of the Unity Editor and should be migrated away from in favor of newer industry standards (OpenXR) starting with Unity 2023.1 and beyond.