How to calculate load time


I’d like to be able to load a scene then see the loading time value, what would be the best way to do this? Simply store the time when you call loadScene and the same at the start of the new scene? Just wondering if there is any built in way to do this in Unity?


It should be Time.realtimeSinceStartup instead Time.time

Nothing built in, you will have to build your own stopwatch:

float startTime = Time.time;
float stopTime = Time.time;
float duration = stopTime - startTime;
Debug.log("Duration: " + duration);