# WaitForCompletion()

> Waits for completion of the request.

## Definition

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

```csharp
public void WaitForCompletion()
```

### Remarks

Calling [AsyncGPUReadbackRequest.done](/engine/6000.5/script-reference/unityengine/rendering/asyncgpureadbackrequest/done.md) on the request after this call, will always result in true whether the request has completed successfully or not. [AsyncGPUReadbackRequest.hasError](/engine/6000.5/script-reference/unityengine/rendering/asyncgpureadbackrequest/haserror.md) can be used to find out whether this request has been successful. Since WaitForCompletion stalls both GPU and CPU, calling this function will result in a large performance hit and should be used sparingly.
