I have a tower defense game and when selecting a tower, you can see a preview of it in the side panel on the left. I render this with a capture camera off to the side outside the play area. Everything works fine except for one thing… I get this flickering of shadows. You can see this on the rocks if the video shows up. I thought it might be the render camera changing the LOD, so I changed the render distance of the render camera. No change. I thought it might be the lights, but I turned off the preview lights and it still happened. It’s only when the render camera is active.
And it gets weirder. This does NOT happen in the editor or in standalone. It only happens in a packaged build. It makes debugging this VERY tedious. Anyone have any ideas what might be causing this? Or what it is at all? Is it the LOD changing or is it the lights, reflections, what?
edit: Oh, I did try limiting the LOD to only one LOD and it still flickered. But it’s been a while. I could be wrong.
edit2: I just swapped out some assets with some that have only one LOD to make sure. No change. Those assets still flicker with only one LOD. So it doesn’t seem to be LOD swapping causing this.
edit3: A friend noticed that when the shadow quality is set to low or medium rather than Epic, it no longer flickers. So it is a shadow issue.