Englighten have problems with invisible mesh

I am trying the unite 2014 tutorial assets, selected moonlight as lightsource and lightmaps end result looks weird because of invisible floor mesh ?

How it should be ?

Should i report this as a bug?

Clearing out skybox and sun also does the same thing.

Hi @siliwangi !

I’ve been doing the odd few hours here and there on an updated 5.x version of the Surival Shooter project, so hopefully I can help with some of the gotchas encountered when upgrading an older project to Unity 5. One of the issues I can see you’ve hit is that the objects don’t have a valid lightmap UV in the 4.6 version currently on the Asset Store. To fix this, it’s best to go to the Models folder, select all the meshes in the Project panel. Go to the inspector and open the Model tab. Check on the Generate Lightmap UV and wait for Unity to calculate the UV’s (this can take quite a while with multiple objects). It may not be perfect first try, but it should get rid of a lot of the glitchy errors.

Make sure all your environment objects are set to static correctly so that Enlighten bakes them. You should also make sure that the Floor object in the hierarchy has no mesh collider - it’s there to collect raycasts and shouldn’t be visible in the scene. Make sure that it’s also not set to Static, in case it affects the Enlighten bakes. You should also make sure that in your Environment Lighting settings there’s a skybox applied and that Enlighten is using this as the ambient source.

Also, you’ll likely need to rebake the navmesh. These settings should get you up and running with that - Grab By | Simple. Screenshot. Sharing Software Blog

Hopefully that should help get you started!

Thanks now it looks better.

1 Like