How to lock a GameObject for any resolution?

I have been trying to find out a way to fix this for hours. Basically I have two particle systems on either side of the screen and I want them to activate when something happens and that works but, whenever I change the resolution of the game the particle systems are in completely different locations and sometimes not even on the screen depending on the resolution.

you need to tweak with cameras viewport.

Add this script yo your camera:

public class Reposition : MonoBehaviour
{

	// Use this for initialization
	Camera cam;
	public Transform left, right;
	public float Offset;

	void Start ()
	{
		cam = GetComponent<Camera> ();
		Invoke ("rearrange_as_Resolution", 0.1f);
	}


	void rearrange_as_Resolution ()
	{
		Vector3 leftPos = cam.ViewportToWorldPoint (new Vector3 (0, 0.5f, cam.nearClipPlane + Offset));
		Vector3 rightPos = cam.ViewportToWorldPoint (new Vector3 (1, 0.5f, cam.nearClipPlane + Offset));

		left.position = leftPos;
		right.position = rightPos;
	}


}

Assign particle systems to left and right transforms respectively and also adjust offset as per needed it should work fine.