Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


SceneLoadingStatus

The loading status of a ContentSceneFile. This is accessed by ContentSceneFile.Status.
Read time 1 minuteLast updated 5 days ago

Definition

  • Type: Enum
  • Namespace: Unity.Loading
  • Assembly: UnityEngine.ContentLoadModule
public enum SceneLoadingStatus

Fields

Value

Description

CompleteThe scene has been loaded and integrated successfully.
FailedA failure occured in the scene loading process. See log for details. Be sure to still call ContentSceneFile.UnloadAtEndOfFrame to release internal resources.
InProgressThe scene load is in progress.
NotLoadedIndicates that the scene has not started loading. This is the default value for ContentSceneFile.Status before any load operation is initiated. Use this value to detect uninitialized or invalid ContentSceneFile instances, such as those not returned by ContentLoadInterface.LoadSceneAsync or after unloading.
WaitingForIntegrateThe asynchronous part of the scene loading is complete. You can now safely call ContentSceneFile.IntegrateAtEndOfFrame when you are ready to activate the scene.
WillIntegrateNextFrameThe scene will integrate at the end of the current frame.