From the lightmapping manu, I pressed bake selected. Shadow appeared…everything looked nice, but as soon as I pressed play, all the shadows disappeared. How do I fix this? Thank you for any. Help in advance ![]()
Bump
Hi there,
can you provide some more info, I would at least expect to see a screenshot showing the shadows visible in the scene view and not in the game view, also the lightmapping settings you use.
Additionally, you could package up your scene and attach to the thread and I can take a look.
Thanks,
Chris
http://s1273.beta.photobucket.com/user/Joey_McFarland/media/1.png.html
http://s1273.beta.photobucket.com/user/Joey_McFarland/media/2.png.html
the first screen shot is before doing anything, the second is after baking shadows to the terrain. These shadows disappeared after I pressed Play.
Not sure what’s happening there,
Can you submit a bug report to us from Help → Report a bug! Please include the project from your screenshots and some specific reproduction steps.
Have you got Unity 4.0 installed? would be interesting to know if it reproduces there as well. (Backup your project before importing into Unity4).
Thanks,
Chris
Ok, I have downloaded and tried this with Unity4 with a pro trial version and I still got the same result. So I reported it as a bug, hope this would help me fix it.
Check to see if this is right:
- After baking, go to the ‘Object’ tab and select ‘Terrains’.
- Expand the ‘Atlas’ area and note the index value of the lightmap.
- Now go to the ‘Maps’ tab, and verify that the index value matches the lightmap number.
- If it doesn’t, go back to the ‘Object / Terrains’ area and type in the value.
Sometimes I’ve had the value not update correctly, but it shows fine in the editor.
thanks a lot Mike, it worked ![]()
Mike, thank you so much for posting this, I have been searching for a solution to this problem all day and I am so thankful to find the solution! I had to try it a couple of times because my index kept resetting to -1 every time, but finally I set the value and hit play with the window still opened and my index finally stuck!