Search Unity

Question BatchRendererGroup does not render in Scene View when in Edit mode (only in a Game camera)

Discussion in 'General Graphics' started by XRA, Feb 2, 2021.

  1. XRA

    XRA

    Joined:
    Aug 26, 2010
    Posts:
    265
    *EDIT* Nevermind, it requires the Scene culling mask to be set in order to show in scene view, the default is wrong (it is an optional parameter)

    I had to use:

    EditorSceneManager.GetSceneCullingMask(EditorSceneManager.GetActiveScene())

    The documentation could use some work
     
    Last edited: Feb 2, 2021
    equalsequals likes this.