If Tilt or GetInputMotionState return 0

After a few annoying hours of googling with no luck, a few people can’t get sensor information from the function GetInputMotionState or delegate Tilt/gravity etc…

So the setting you need to enable:
Project Settings > Platforms > Android > Input and check the box “Allow IMU Sampling”. It should now return sensor information.


Not all heroes wear capes

Thank you! It helps a lot!!!