# valid

> True if the object is valid.

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine.Experimental.Audio](/engine/6000.5/script-reference/unityengine/experimental/audio.md)
* **Assembly:** UnityEngine.AudioModule

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

### Remarks

The object becomes invalid when its owner (see [AudioSampleProvider.owner](/engine/6000.5/script-reference/unityengine/experimental/audio/audiosampleprovider/owner.md) releases it. However, the provider cannot be destroyed while a call is ongoing so there will be no race condition during destruction.

A [VideoPlayer](/engine/6000.5/script-reference/unityengine/video/videoplayer.md) releases all its providers when playback is stopped.
