Lighting an instantiated prefab, baked versus realtime
<p>I'm generating a dungeon out of prefabs which means I design a room, save it in the resource folder and instantiate it at a random position with a random rotation while the game is running. </p>

<p>The problem I have is the lighting.            </p>

<p>Because of the above mentioned generation process it has to be dynamic but it doesn't seem to work. Below you can see the comparison between a baked and realtime rendered room:                                   </p>

<p>Baked (I also don't know where these strange lighting borders (on the walls), which are looking like someone painted the light with watercolors are coming from):</p>

<p><a href="https://i.stack.imgur.com/GB4vf.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GB4vf.png" alt="Backed"></a></p>

<p>Realtime:</p>

<p><a href="https://i.stack.imgur.com/mIi7L.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mIi7L.png" alt="Realtime"></a></p>

<p>As you can see, the realtime room doesn't seem to reflect light in any way.
These are my lighting settings:         </p>

<p><a href="https://i.stack.imgur.com/Y5bHY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y5bHY.png" alt="Settings"></a>                                                        </p>

<p>And this is my 'sun':<br>
<a href="https://i.stack.imgur.com/rRDOK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rRDOK.png" alt="enter image description here"></a></p>

<p>What am I doing wrong?</p>