-
Notifications
You must be signed in to change notification settings - Fork 1
Description
sir i am using version 1.4.4 input system and did everything u said for the readingvalues of the motion sensors, but i am gettin an error in the update method saying that no referance for the instance of the object . in the lines where i am using the code
InputSystem.EnableDevice(Gyroscope.current);
InputSystem.EnableDevice(Accelerometer.current);
InputSystem.EnableDevice(AttitudeSensor.current);
InputSystem.EnableDevice(GravitySensor.current);
i think the new input system is not working proper and my editor version is 2020.3.44f,i even tried changing the active input handling in the player setting to both and even later to new input system but still got the error . I got mad and didn't see there was a git project in the end of ur blog .today(3/3/23) only i checked it and i am uploading this before using this git project. I will update if ur git project clone solves the problem or not.
Thank you