Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Getting the rendering time progromatically

Discussion in 'Unity Analytics' started by raghadalghonaim, Jun 5, 2020.

  1. raghadalghonaim

    raghadalghonaim

    Joined:
    Apr 22, 2020
    Posts:
    32
    Hello All,

    I'm interested in actually understanding how the HDRP additional parameters are costing me in term of time, I'm using Unity to only do 3D simulation. To explain it more, I'm running the program to loop through a specific number (say 10) to generate 10 different scenes (different in terms of object positions and materials and parameters values such as shadows) each time am capturing the scene using RenderTexture to PNG image.

    I'm interested in getting the exact render time of each of the 10 scenes, I want to understand for example how does enabling the shadows affect the rendering time?

    I tried using UnityStats.renderTime, but found no clear explanation on its functionality so wasn't sure about it.

    Thanks for your help
     
  2. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,372
    Probably better asked here https://forum.unity.com/forums/scripting.12/ This forum is for Unity Analytics only
     
  3. raghadalghonaim

    raghadalghonaim

    Joined:
    Apr 22, 2020
    Posts:
    32
    Sure thanks!
     
  4. JeffDUnity3D

    JeffDUnity3D

    Unity Technologies

    Joined:
    May 2, 2017
    Posts:
    7,372
unityunity