Low framerate
If your Depthkit asset is playing back at lower framerates, appearing to stutter, this usually indicates that the rendering computer, and particularly the GPU, is being pushed to its limit.

You can check this by opening your computer's Task Manager and looking at the graphs in the Performance tab. If any of the graphs are continuously reporting 100%, then your system has to reduce the resources available to the running applications, and can affect the performance of Depthkit and other applications running on the same computer.
Limit Unity framerate

Without limiting Unity's framerate, it will attempt to render as many frames per second as possible. Attaching a simple script to a game object in your Unity scene can reduce the number of rendered frames per second, which frees up system resources.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class FramerateLimiter : MonoBehaviour
{
void Awake () {
QualitySettings.vSyncCount = 0; // VSync must be disabled
Application.targetFrameRate = 30;
}
}
The above script sets the target framerate of the Unity application to 30fps.
Lowering the framerate of XR builds below 72-90 fps is not recommended.
If your Unity project is destined for an XR headset, change the value to a framerate suitable for XR, such as 72fps or 90fps.

Updated about 2 months ago