The Background Tasks window displays the progress of any running asynchronous tasks. For example, you can see the progress for shader compilation, lightmapA pre-rendered texture that contains the effects of light sources on static objects in the scene. Lightmaps are overlaid on top of scene geometry to create the effect of lighting. More info
See in Glossary baking, and occlusion cullingA Unity feature that disables rendering of objects when they are not currently seen by the camera because they are obscured (occluded) by other objects. More info
See in Glossary.
To open the Background Tasks window, do one of the following:
ToolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
See in Glossary: Provides options for filtering tasks and clearing inactive tasks from the list.
Task list: Displays per-task progress information for the following:
Each entry in the Background Tasks window displays the following information about the task.
|1||Task name/description||A name or short description for the task.|
|2||Progress bar||Indicates how close the task is to completion.
If the task is indeterminate, because its progress is not measurable, the bar shows a small filled region that moves from side to side until the task is finished.
|3||Percent complete||Shows how close the task is to completion, as a percentage.
For indeterminate tasks, whose progress is not measurable, this area is empty.
|4||Cancel||Click to cancel an active task.
If the task cannot be cancelled, this icon does not appear.
|5||Status||Optionally displays a short description of the current activity for an active task.
When the task finishes, this area displays its final status (for example, finished, failed, or cancelled).
|6||Time elapsed/remaining/total||When an active task takes longer than a few seconds, displays either the current time elapsed or the estimated time remaining.
When the task finishes, this area displays the total time elapsed.
Some tasks spawn subtasks. The progress window displays an overall progress entry in the parent task (1), and a sub progress entry for each child task (2).
Monitoring subtasks can help you determine which part of a complex task takes the most time. This is useful for operations like lightmap baking, which can have hundreds of subtasks.
Background tasks can have the following statuses:
|Active||The task is running and reports progress as percent complete, or estimated time remaining.||None|
|Indeterminate||The task is running and reports progress, but cannot determine how close it is to being complete.||None|
|Finished||The task finished successfully||
|Unresponsive||The task has not reported any progress for five seconds.||None|
|Cancelled||The task is no longer active because you cancelled it manually.
Some tasks cannot be cancelled from the Background Tasks window.
|Failed||The task is no longer active because it failed||
Use the filter options in the Background Tasks window toolbar to hide and show different types of tasks.
|Cancelled and unresponsive tasks|
You can cancel some running tasks directly from the Background Tasks window. To cancel a running task click the cancel (x) icon.
Click the Clear inactive button in the toolbar to remove all inactive tasks from the list.
Unity automatically clears most finished tasks from the list. However, some tasks are designed to stay in the list until you clear them manually.
Failed and cancelled tasks also stay in the list until you clear them.
To clear unresponsive tasks, you must cancel them first.
The Unity Editor status bar displays a global progress bar that shows the aggregate overall progress of all active tasks. It does not include finished, failed, or cancelled tasks.