I just started a new project with latest Orion SDK (4.0.0+52173) and the hand orientation in desktop mode is incorrect. The moment I hit play in Unity (In Desktop mode), the hands rotate so that both palms point upwards and thumbs point outwards. Both hand models switch color constantly (re-initialize?). This same happens in the Diagnostic visualizer as well - the orientation is flipped there as well. When I hit stop, diagnostic visualizer starts showing the hands correctly again.
In VR-mode the hands are correctly displayed. If I open diagnostic visualizer in Leap motion control panel, orientation is correct there as well. So basically everything works well in desktop mode (based on diagnostic visualizer) until I hit play in Unity.
Desktop mode still works correctly in an older project (with an older Orion SDK, installed in December 2018). So something happened with a newer Orion update.
In this new project I just started a new project and dragged Leap rig into my scene, nothing more. Then switched to Desktop mode from LeapXRServiceProvider.
My Unity is 2018.2.2, Orion 4.0.0+52173.
Issue seems similar to question 2 in thread https://forums.leapmotion.com/t/low-frame-rate-and-incorrect-hand-orientation-in-orion-install-for-desktop/4757
It seems that although I have chosen Desktop Mode A, it's still in head mounted mode because when Desktop A is chosen, it works fine when I attach it to my head. So issue is why doesn't Desktop Mode A activate?