Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Multiple camera cause ScriptableRenderContext.Submit render the camera twice?

Discussion in 'Editor & General Support' started by Pierre-Marie, Mar 28, 2023.

  1. Pierre-Marie

    Pierre-Marie

    Joined:
    Aug 3, 2015
    Posts:
    51
    Hello,

    I'm looking after Performance improvement And I saw that me main task in my scene is to render the camera.
    In particular I see my two cameras but also another line named Inl_ScriptableRenderContext.Submit wich containt another Render of my cameras:

    upload_2023-3-28_14-0-12.png

    I use one camera for the scene and another for the UI as I have 3d animated mesh modele in the UI part.

    I'm wandering if there is something wrong in my scene or if it's normal to have a extra 1ms when using two camera?

    Thanks for your help.
     
    killerfrogy likes this.