Flicker on instantiate (ideas?)

Hi There,

My entire game area is instantiated during the gameplay. The prefabs are loaded from an array as they are need and unloaded when they are not in view.

I get a slight flicker when they appear, this only happens at areas effected by lights (but not a directional light for some reason). I assume whats happening is that there is a recalc on the lighting whenever the new prefab is popped in place under the player.

Does anybody have any ideas on how to get rid of this?

You could try to make the object visible only one frame after the instantiation. In a start function, call a coroutine with yield; and renderer.enabled = true;

Thanks for the tip Berenger. After a day of tweaking the code I got around the issue by creating the prefab slightly off the Y-axis by .001 when it overlapped the exiting prefab and that seemed to fix it up. But thanks for taking the time.