Objects not always Spawning At Correct Location

Using the Basic function for instantiating, (GO, v3, quaterion) bullets, sometimes but not always my bullets will be spawned a few units right or left with different rotation than intended. Previously I’ve never had this issue, the only difference is now I’m using a terrain but that shouldn’t affect spawning locations of bullets.

make a public gameobject called target then put this in where ever it spawns the object
transform.position = target.transform.position;
make sure that “target” is a gameobject thats at the place you want the bullet to spawn

Hi, do the bullets have colliders/rigidbodies attached to them? if so, then each time 2 bullets get instantiated at the same place, one of them may move according to the physics engine calculations. Using physics layer mask will solve your problem.