Describe the bug
SpaceNavigatorHID.current.Rotation.ReadValue(); returns in Standalone build only Vector3(0, 0, 0);
When use in GameMode it works fine. Also SpaceNavigatorHID.current.Translation.ReadValue(); still returns all values in all modes
just rotation returns zero values
using the 3Dconnexion wireless version in Unity 2020.3.5f1 using SpaceNavigator-2.0.0-beta.7
To Reproduce
Steps to reproduce the behavior:
- create new HDRP project in Unity 2020.3.5f1
- copy the SpaceNavigator-2.0.0-beta.7 folder to the packages folder
- accept the prompt to change to the New Input System
- after restart add a script to the camera to vizualize the movement of
SpaceNavigatorHID.current.Rotation.ReadValue();
- Debug.Log both
SpaceNavigatorHID.current.Rotation.ReadValue(); and SpaceNavigatorHID.current.Translation.ReadValue();
- try it in GameMode, it does work normal
- build the project
- in the builded project only
SpaceNavigatorHID.current.Translation.ReadValue(); returns values while SpaceNavigatorHID.current.Rotation.ReadValue(); only returns Vector3(0, 0, 0); constantly
Expected behavior
SpaceNavigatorHID.current.Rotation.ReadValue(); should return values other than zero in builded versions
Details (please complete the following information):
- Issue occurred while [in the editor viewports, in play mode]
- Device type: Spacemouse 3dconnexion
- Connection: wireless
- OS: Windows
- SpaceNavigator-2.0.0-beta.7
Additional context
Add any other context about the problem here.
Describe the bug
SpaceNavigatorHID.current.Rotation.ReadValue();returns in Standalone build onlyVector3(0, 0, 0);When use in GameMode it works fine. Also
SpaceNavigatorHID.current.Translation.ReadValue();still returns all values in all modesjust rotation returns zero values
using the 3Dconnexion wireless version in Unity 2020.3.5f1 using SpaceNavigator-2.0.0-beta.7
To Reproduce
Steps to reproduce the behavior:
SpaceNavigatorHID.current.Rotation.ReadValue();SpaceNavigatorHID.current.Rotation.ReadValue();andSpaceNavigatorHID.current.Translation.ReadValue();SpaceNavigatorHID.current.Translation.ReadValue();returns values whileSpaceNavigatorHID.current.Rotation.ReadValue();only returnsVector3(0, 0, 0);constantlyExpected behavior
SpaceNavigatorHID.current.Rotation.ReadValue();should return values other than zero in builded versionsDetails (please complete the following information):
Additional context
Add any other context about the problem here.