Search Unity

Loading scene as additive results in error

Discussion in 'Editor & General Support' started by ZigZagZat, Apr 8, 2021.

  1. ZigZagZat

    ZigZagZat

    Joined:
    Mar 6, 2021
    Posts:
    12
    Whenever I load a scene as additive I get this error:

    InvalidOperationException: This cannot be used during play mode.
    UnityEditor.SceneManagement.EditorSceneManager.MarkSceneDirty (UnityEngine.SceneManagement.Scene scene) (at <0e11587263324259967daac4d577d226>:0)

    This does not happen in a build, only in the editor