Update: This has been solved!
I tried building my game for the first time. When I play in build mode the “LeftMouseButton” input (positive=mouse 0, alt=space) doesn’t work for my fps game, but it will work in the editor. I also have inputs for awsd to control movement and mouse movements for camera rotation. Both work in build.
The code below shows where the script handles inputs.
// Player firing weapon
if (Input.GetButton("LeftMouseButton") && Time.time > playerFireWeaponScript.ReturnNextFireTime()) {
// Damage enemies through raycast and create firing effects
playerFireWeaponScript.FireWeapon();
}