# isTracingCacheMisses

> Flag indicating if the collection is actively tracing cache misses into GraphicsStateCollection.cacheMissCollection.

## Definition

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

```csharp
public bool isTracingCacheMisses { get; }
```

### Remarks

Cache miss tracing can only begin if the current collection is used to prewarm shader variant states via [GraphicsStateCollection.WarmUp](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/warmup.md). While true, any time a shader variant permutation that does not exist in the current collection is used, it will be added to the cache miss collection. Use [GraphicsStateCollection.EndTrace](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/endtrace.md) with the [GraphicsStateCollection.cacheMissCollection](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/cachemisscollection.md) to stop tracing.

Additional Resources: [GraphicsStateCollection.isTracing](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/istracing.md), [GraphicsStateCollection.WarmUp](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/warmup.md), [GraphicsStateCollection.EndTrace](/engine/6000.5/script-reference/unityengine/rendering/graphicsstatecollection/endtrace.md).
