Annyoing choppy editor playback, game runs fine.

This is driving me nuts.

If I try to play my game in the Unity Editor I get choppy playback even with few scripts running and 250 fps. The framerate doesn’t change, I just get these quarter-second pauses at a regular interval.Everything stops during these pauses including audio playback. If I have more scripts running or action happening the interval is shorter (more frequent skips). The pauses happen once a second at 60fps with all scripts running and lots of action on-screen.

Notes:

  1. When I publish my game the issue isn’t present at all.

  2. Nothing is being output to Debug when this occurs.

  3. The problem was worse (more frequent skips) before I commented out the Debug.DrawLine calls which are part of the Locomotion System.

I get that too, just restart unity and it goes away, but it is quite annoying i must say.