# subStepLostTime

> The amount of simulation time that has been "lost" due to simulation sub-stepping hitting the maximum number of allowed sub-steps.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.Physics2DModule

```csharp
public float subStepLostTime { get; }
```

### Remarks

When simulation sub-stepping occurs, the number of sub-steps that run are limited to [Physics2D.maxSubStepCount](/engine/6000.5/script-reference/unityengine/physics2d/maxsubstepcount.md). This can result is "lost" simulation time which is monitored and is available for analysis here. The cost of sub-stepping should be monitored with the Unity Profiler using the Physics 2D Module.

Additional Resources: [Physics2D.useSubStepping](/engine/6000.5/script-reference/unityengine/physics2d/usesubstepping.md), [Physics2D.maxSubStepCount](/engine/6000.5/script-reference/unityengine/physics2d/maxsubstepcount.md), [Physics2D.minSubStepFPS](/engine/6000.5/script-reference/unityengine/physics2d/minsubstepfps.md) and [PhysicsScene2D.subStepCount](/engine/6000.5/script-reference/unityengine/physicsscene2d/substepcount.md).
