I have a cylinder that i have a script attached to it to rotate the object slowly. This is the script. Very simple.
private int speed = 50;
// Update is called once per frame
void Update ()
{
transform.Rotate(Vector3.up, speed * Time.deltaTime);
}
There is nothing in the scene except this one cylinder and a few buttons. But what happens is it will go normal speed for a second and than look like the fps has dropped. But every time that happens, i check my frame rate and it still says its kicking up at about 74 fps. I have removed anything attached to it and everything in the scene to try and fix this problem and i have had no results. I have also tried importing the cylinder through as an .fbx file made in blender to see if i could run it better as an animation, and the exact same thing still happens. Please help. Thanks.