Problem with multiple key events at same time

Hey, I am trying to make a online multiplayer spaceship shooter, but i’ve ran into the problem of when I hold down the (left) arrow key, up arrow key, and space, it doesn’t let me shoot and move, but if hold (right), up, and space, I can shoot and move (space being to shoot, left being to rotate left, and up being to go forward)

Any help is greatly appreciated.

The shooting script is this

using UnityEngine;
using System.Collections;

public class Shoot : MonoBehaviour {

    public GameObject bulletPrefab;

    public Vector3 bulletOffset = new Vector2 (0, 10f);
    public float fireDelay = 0.25f;
    float cooldownTimer = 0;
  
    // Update is called once per frame
    void Update () {
        cooldownTimer -= Time.deltaTime;

        if(Input.GetButton ("Jump") && cooldownTimer <= 0 ){
            cooldownTimer =  fireDelay;

            Vector3 offset = transform.rotation * bulletOffset;

            Instantiate(bulletPrefab, transform.position + offset, transform.rotation);
        }
    }
}

The movement for the playership is this

using UnityEngine;
using System.Collections;

public class Movement : MonoBehaviour {
    public float maxSpeed = 20;
    public float rotateSpeed = 20;
    public Rigidbody2D rb;
    // Use this for initialization
    void Start () {
        rb = GetComponent<Rigidbody2D> ();
    }
  
    // Update is called once per frame
    void Update () {
        //float inputX = (Input.GetAxis("Horizontal") * Time.deltaTime * rotateSpeed);
        //float inputY = (Input.GetAxis("Vertical") * Time.deltaTime * maxSpeed);

        if (Input.GetKey (KeyCode.RightArrow)) {
            rb.AddTorque (Time.deltaTime * -rotateSpeed);
        }
        else if (Input.GetKey (KeyCode.LeftArrow)) {
            rb.AddTorque (Time.deltaTime * rotateSpeed);
        }
        else if (Input.GetKey (KeyCode.UpArrow)) {
            rb.AddForce(transform.up * Time.deltaTime * maxSpeed);
        }
    }
}

The bullet has code on it so that on instantiate it moves transform.up

Assuming there’s no errors in your code, that sounds like a keyboard input limitation and a hardware problem. Try it with a different set of buttons just for testing.

EDIT: Lots of people have this issue with their keyboard

asdw works fine, so it’s just my left key?

It’s not your left key, or any specific key, it’s your keyboard / manufacturer. Here’s a wikipedia article that might help explain what’s happening on the hardware level.

Are you sure, not doubting you, but I went here http://www.dakmm.com/?p=272 and scrolled down to the key press thing, and if I hold left, and up, then if I try pressing space, it doesn’t work, but if I hold right, up, and try pressing space, then it registers, im just not understanding, sorry.
Also when I play a game and try doing left to move left, up to jump, and space to boost, I can’t do it all at the same time

If this particular key combination doesn’t work in that Flash app, I’m not sure how that’s not anything but a confirmation about what I’m saying.

It probably is what you’re saying, but I guess I just don’t want to admit it, because that sucks for me then, xD, Thanks though