I see all of the enlighten entries, and each has an associated milliseconds or whatever. I cannot find an elapsed time. After lightmapping I assume it would be right at the bottom. What am I looking for? Thanks.
The last I know as of 5.0.1, the elapsed time is not available. I read another forum where a unity employee said it’s on their todo list, i cant find the thread.
what i do is look at the last modified date of any .exr files or the GI cache directory to determine the bake time in Windows.
But where do you find this log file that you speak of? Where is it stored?
it’s located here…
C:\Users*you*\AppData\Local\Unity\Editor
There is an entry for ‘Light Transport’ towards the bottom if you check it immediately after a bake. Thats what i’ve been using as a gage since that’s what takes the longest. It’s in seconds and is noted as [wallclock] or something.
I see this in the log file:
[00:00:14] Enlighten: Bake started.
[00:00:14] Enlighten: Finished 1 Atlassing job (0.00s execute, 0.00s integrate, 0.33s wallclock)
[00:00:14] Enlighten: Finished 4 Create Bake Systems jobs (0.01s execute, 0.00s integrate, 0.33s wallclock)
[00:00:15] Enlighten: Finished 1 Baking Resources job (0.14s execute, 0.00s integrate, 0.33s wallclock)
[00:00:15] Enlighten: Finished 2 Export Bake Texture jobs (0.00s execute, 0.00s integrate, 0.33s wallclock)
[00:00:16] Enlighten: Finished 4 Bake Visibility jobs (0.76s execute, 0.00s integrate, 0.65s wallclock)
[00:00:16] Enlighten: Finished 4 Bake Direct jobs (0.86s execute, 0.00s integrate, 0.65s wallclock)
[00:00:17] Enlighten: Finished 4 Ambient And Emissive jobs (0.36s execute, 0.00s integrate, 0.67s wallclock)
[00:00:17] Enlighten: Finished 4 Create Bake Systems jobs (0.01s execute, 0.00s integrate, 0.32s wallclock)
[00:00:20] Enlighten: Finished 1 Bake Runtime job (3.13s execute, 0.00s integrate, 3.29s wallclock)
[00:00:21] Enlighten: Finished 1 Upsampling Visibility job (0.15s execute, 0.00s integrate, 0.33s wallclock)
[00:00:32] Enlighten: Finished 4 Bake Indirect jobs (20.33s execute, 0.00s integrate, 10.87s wallclock)
[00:00:38] Enlighten: Finished 4 Compositing jobs (11.72s execute, 0.00s integrate, 6.45s wallclock)
[00:00:38] Enlighten: Bake took 24.576945 seconds.
Enlighten bake manager.
(Then it goes on to do the reflection probes)
[00:00:42] Enlighten: Reflection Probes started.
[00:00:42] Enlighten: Finished 1 Reflection Probes job (0.02s execute, 0.01s integrate, 0.33s wallclock)
but i dont see anything after the reflection probe bake that indicates how long it took.
To you see something similar in your file?
Similar, yes. But not but just like that. It looks like the cashing may be breaking up the report or something. Plus I gave a pretty large scene. I’ve attached what I think is the log data from when I hit bake at 9:30.
2128648–140040–Editor.txt (90.8 KB)
i dont really know how to interpret these log files. It looks like something is not right with yours:
[00:17:46] Enlighten: Started Visibility job, hash: 0x3131527c189ae7e262b6ee0cbae6aee3
[00:17:49] Enlighten: Finished Visibility job, hash: 0x3131527c189ae7e262b6ee0cbae6aee3 (2.40s execute, 0.00s
it looks like it keeps restarting the same job over and over again.
I would definitely submit a bug report.
What I have to do is copy small sections of the scene into a temporary scene and do the light baking in small steps at time. it helps with finding out what the issues are. alot of times my issues are not having the “Calculate UVs” done in the import window. Other issues are bad models with double vertices or missing triangles.
The difference between your logs is probably simply due to different Unity versions.
In 5.0 all of the separate jobs the printed out.
In 5.1 it was cleaned up, so it looks much more nice and neat.
Good catch, passed it on.