- Home /
Lightmap textures appearing where they shouldn't in build.
The baked lightmaps in my scene are appearing on one of my materials. It only happens in build, not in editor and it doesn't happen for everyone that plays the game, it's very hard to track down.
The shader I am using on the material is a custom shader that I created in Shaderforge. I use similar custom shaders in other places and they don't have this problem. The shader is pretty basic, it's a PBR shader that is opaque, the reason I'm using it is that I have an effect which bends the balloons when they are hit. Turning this effect off or on seems to have no affect on the lightmaps appearing. If I look at the balloons at a different angle, the lightmaps on it change to other lightmaps that exist in the scene. It's very strange. I feel like I'm missing something simple.
Above - baked lightmaps appear on balloons. Below - how it appears for most people and also in Editor.
Hey @tayloreichhorst. Did you ever manage to fix it? We are experiencing the same issue in Unity 2019.4 (don't know if it other Unity versions are also affected).
Your answer
Follow this Question
Related Questions
Some reflection probes are not baking 0 Answers
Standard shader looks incorrect on mobile (weird colors) 1 Answer
Best way to bake shadows on reflective floor? 0 Answers
Simple way to retain standard lighting model when using custom vertex/fragment shader? 1 Answer
Unity 11/17 Bake Runtime | 1 jobs 2 Answers