PrefabLightmapping icon indicating copy to clipboard operation
PrefabLightmapping copied to clipboard

Lightmap breaks in the build on a single prefab

Open Liska333 opened this issue 1 year ago • 1 comments

Hello, We have been using PrefabLightmapping for several months on a VR project. Since yesterday evening we have a prefab (among 2) on which the Lightmaps jump to the build. It is a prefab that is not instantiated, and that is disable at Play then Enable on an Event. The other prefab has exactly the same setting but keeps its lightmaps in the build. In the Android log we have this error.

If this error tells you something I'll be extremely happy, especially since we have to make a first release in the next few days!

Thanks to you,

LogError

Liska333 avatar Mar 24 '23 08:03 Liska333

It looks like some reference is missing, either a renderer or a lightmap for this prefab. I would try to rebake that specific prefab again in a new scene so you don't lose any others you might have made before.

Ayfel avatar Mar 24 '23 12:03 Ayfel