This particular building has these weird glitched out light boxes on it. It has sayed on the same spot for the entire duration of this project and ever since it has had these squares. What could possibly be the issue here? Is it some lightmap thing? I really dont know, im not experience at all with things like that.
Does it have any problem when the building is in the correct position?
Yeah it has a light-dark square in the middle of the big one on the right. It just gets even more exaggerated as it moves back
Does it have the issue if you place your mesh and then build the lighting? Until you build your lighting it will have preview shadows which are not a fully accurate representation of what the lighting will look like.
Does it have glitches if you build lighting and do not move mesh?
Because lighting in editor while you move mesh sometimes is very different from baked lightmaps.
What type of light are you using, is it static or movable?
check those:
- if you use static lighting, build lights and see if those artifacts are there.
- for dynamic lights, check normals and smoothing groups on mesh
- and check second UVs (usually used for lightmaps) if they are properly created for mesh.
From how it look i think it is smoothing groups, engine thinks corners should be smooth and allows shadows/colors to leak over edges.
My guess is that you have distance fields on.
At least, it looks like a shadow being cast off the distance field… might not be, but it’s probably worth a check.