Hi guys.
As we know Unity has some problems with objects with LOD’s, where the bake time increases a lot.
Unity provides a script in the FPS Sample project.
I used that scripts into my project and yes the time baking now is good but I have a problem that I will explain with video support.
You are watching a scene with bake light + Lightmap Projection in the LOD’s.
In the first seconds, you can see that the projection works very well in the Editor and in play mode.
The problem comes when I build the project and play the build version, as you can see in the video the meshes have some visual flick when they change to LOD0 to LOD1, the LOD1 is not taken the bake light information from LOD0.
Why?
I realized that if I do not place the “ProjectLODLightmapManager” file in the GO where are the Volumen settings (like FPS Sample project), the same problem happens in the Editor.
So that means that I missing something when I build? Is it not load the script?, but I saw the script and look that the code is for the editor, so what happen in the building?.
Thanks
Eduardo