- Home /
Parts of Unity's New Input System only start working about 10 seconds start-up
I have a function:
public void OnCameraMovement(InputAction.CallbackContext value)
{
rotateInput = value.ReadValue<Vector2>();
Debug.LogFormat("Rotate input: [{0}, {1}]", rotateInput.x, rotateInput.y);
}
But this debug statement is only triggered about 10 seconds after start-up, apart from that, it works fine. Any ideas why this lag exists? Whether it's something I need to wait for to load, or whether there is a way to fix it?
Weird related behaviour I've observed:
Using a controller works for buttons / sticks from the very beginning
Using WASD works for movement from the beginning, it's only IJKL for keyboard camera movement and other buttons like my run button (SHIFT) that don't work until after about 10 seconds
Other notes:
I'm on the latest version of Input System (1.3.0)
Your answer
Follow this Question
Related Questions
Input leaking to another Scene 0 Answers
Help In Making a SphereCast for 3D Tire! Working RayCast Script included! 0 Answers
Input Help! 1 Answer
valve index A button mapped as grip 1 Answer
IOS object touch, collider 1 Answer