I have my turret on my player character, and it's just to set to shoot the nearest enemy. But then it just... doesn't?
The turret will shoot at a normal rate for like three seconds, but then once several enemies are within range it just stops and starts firing completely randomly.