UNITY 5 - SPACE SHOOTER - INSTANTIATE NOT SPAWNING

Hi Everyone, new here.

Bolts Instantiates in space shooter won’t spawn, even though my code is EXACTLY the same as in the video script and change log doesn’t mention any change between unity 5 and previous version for this part.

It won’t spawn, let alone be spawned through get.button…

just started coding, already getting frustrated hehe !

Hope someone will help,

Thank you !

I have the same issue. Shots are spawned (I can see them in the hiearchy, and the position is changing) but they do not show in the game view. If i just drag and drop a shot into the game hierarchy it shows as intended though.

using UnityEngine;
using System.Collections;

[System.Serializable]
public class Boundary {
	public float xMin, xMax, zMin, zMax;
};

public class PlayerController : MonoBehaviour {

	private Rigidbody rb;

	public float speed;
	public float tilt;
	public Boundary boundary;

	public GameObject shot;
	public Transform shotSpawn;
	public float fireRate;

	private float nextFire;

	void Start(){
		rb = GetComponent<Rigidbody> (); 
	}

	void Update () {

		if (Input.GetButton("Fire1") && Time.time > nextFire){
			nextFire = Time.time + fireRate;

			Instantiate(shot, shotSpawn.position , shotSpawn.rotation);

		}
	}

	void FixedUpdate () {
		float moveHorizontal = Input.GetAxis ("Horizontal");
		float moveVertical = Input.GetAxis ("Vertical");

		rb.velocity = new Vector3 (moveHorizontal, 0.0f, moveVertical) * speed;

		rb.position = new Vector3 (
			Mathf.Clamp (rb.position.x, boundary.xMin, boundary.xMax),
			0.0f,
			Mathf.Clamp (rb.position.z, boundary.zMin, boundary.zMax)
		);

		rb.rotation = Quaternion.Euler (0, 0, rb.velocity.x * -tilt);
	} 
}

Shot uses Mover script:

using UnityEngine;
using System.Collections;

public class Mover : MonoBehaviour {

	private Rigidbody rb;
	public float speed;

	void Start() {
		rb = GetComponent<Rigidbody> ();
		rb.velocity = new Vector3 (0.0f, 0.0f, 1.0f) * speed;
	}
}

EDIT
Seems like I’ve got it to work. I had set the x rotation on the on the shot quad to 90 but not the x rotation on the shot spawn. PING @AlphaBigWood