title: Why simple 2d game in unity lag?
body: <p>I created a very very simple 2d game in Unity, but sometimes (every 2-3 seconds) there is a small lag. (on iMac, on iPhone, on iPad, on editor unity)</p>
  
  <p>Information:</p>
  
  <ol>
  <li><p>All textures reduced and still compressed (5kb - 100 kb) (aprox. 50 tex)</p></li>
  <li><p>All scripts are optimized (In update I use only one Translate for one object which contains multiple objects(train with 10 railway carriage) with Rigidbody2D(isKinematic) and CapsuleCollision2D, 
  and small checkers (like if(sound != 1) then sound = 1))</p></li>
  <li><p>Scene have about 20 objects (images, canvas, panels, 2 particles system (snow) with mobile shader > particles > additive and spawn one in every 1 second).</p></li>
  <li><p>In Awake I set Screen.SetResolution((int)(Screen.width / 1.7f)), (int)(Screen.height / 1.7f)).</p></li>
  <li><p>I have already optimized everything, and several times. He raised a lot FPS, reduced weight, increased smoothness, but small lags remained.</p></li>
  </ol>
  
  <p>TODO: I created new clean project, I added 1 image and created script which translate image from right to left, and THERE ARE ALSO friezes!!!</p>
  
  <p>When I play:</p>
  
  <p><a href="https://i.stack.imgur.com/x5nMR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x5nMR.png" alt="When I play"></a>
  <a href="https://i.stack.imgur.com/1Vg65.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1Vg65.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/RtfYQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RtfYQ.png" alt="enter image description here"></a></p>