Skip to content

hello sir i have a doubt #1

@rg-kural

Description

@rg-kural

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions