Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


forcePlayerLoopUpdate

In the Editor, defines whether the Player loop is updated while the GPU request is in flight.
Read time 1 minuteLast updated 6 days ago

Definition

public bool forcePlayerLoopUpdate { get; set; }

Remarks

Defaults value: true. If true, forces the Player loop to be updated until the GPU request is fulfilled. This guarantees that the request is completed as fast as possible, but if a new AsyncGPUReadback.Request is issued every frame, the Editor will never go into the idle state. If false, the Player loop is not forced to update, so the Editor is able to enter the idle state immediately after this request. The request might not finish until the Editor wakes up again, for example, when the Scene view camera is moved or an inspector property changes.