PrefabLightmapping icon indicating copy to clipboard operation
PrefabLightmapping copied to clipboard

Baking lightmaps break decals until affected materials are Reimported.

Open PhillipGenant opened this issue 3 years ago • 2 comments
trafficstars

I've had an issue where decals I'm using in my game wont appear on materials that are included in the prefab that is being baked.

I have a Video showing more of the effects of what I'm experiencing. Unity version and hdrp version included in video title.

PhillipGenant avatar Feb 28 '22 21:02 PhillipGenant

What material is the decal? (shader) Also have you tried on a build?

Ayfel avatar Feb 28 '22 22:02 Ayfel

I have tried on a build, the issue persists, and as there is no way to reimport or select the materials, the decals never display.

My decals look like this. Pretty standard stuff. When I remove the PrefabLightmapData component, delete the lightmap information and reimport the materials everything goes back to behaving how I had it before I started using prefab lightmap baking. image

PhillipGenant avatar Feb 28 '22 23:02 PhillipGenant